Optimize cheb_eval, cheb_diff and cheb_grad in cheb_utils.txx
Optimize cheb_approx in include/cheb_utils.txx
Fix unnecessary memory allocations for permutations.
Fix error in include/precomp_mat.txx

- Resize perm_r and perm_c in LoadFile(...)