Vec normalize fix when N == 0
Mat NxN template class for matrices