tests passed except identity matrix size 3