Cleaning up
Two stage least squares and cleaning up
Sign change corrections
Updated docs
Updated docs