Pointers initialised as null in empty constructor

Additionally fixed maths::identityMatrix.