fixed all pedantic warnings
fixed all Wall warnings
Merge branch 'pedantic' into bwt2csa
wrong operator when indexing m_psi