renamed MR stuff
checking in code to save matrix