Linear Regression in Python using numpy and scipy