Working code for mssm calculations