Matrix initialisation for smxa