move regression from previous code to current
update README, order fields
add least squares method to library