made testing.almost_equal work on arrays
TST: updated linear regression and optimize tests
Added linear regression example height_weight-linear_regression.py
DOC: added example and updates