Matrix::rotation now takes an enum for axis
Fix some warnings for unreachable code