first try to add matrix to maths src