I took M out to 10 decimal places and corrected the formula in all M rows. I think this is what you want it to do.