Alter full mixing matrix function to give correct values