Added untested implementations of functions for 3x3 and 4x4