Fixed a bug in calculation algebraic immunity for cases 2^n < n+m