Replaced in-class dotproduct,crossproduct, norm, normalize functions by Eigen functions