fitLinear documentation

Added documentation to fitLinear.