DetSlope function

Determine slope for the log(y) and x regression manually