modularized via module global the mse mode to use, optimized lophaven to only perform the matrix inversion once and added cpu time calculation in sequential test (to check for mse performance)