changes to mat mult_p
 changes to mult