Added MJ matrix with ref