matrix class initializes to identity