removed Eigen and created new Vector class