Fixed some errors in the goml linear regression interfaces.