changed constructor usage to function usage for creation of matrices

also added further cases to chopFirst