Got linear regression using normal equation working in vectorz. Have not tested it with large amounts of data, just lines.