Implemented the recoding of the SNPVector
Fixed an error with const