Seperated matrix initialisation from matrix generatin