Added 2D rotations to mat2 and mat3
Added checking for sinf and cosf to configure.ac