Added wrapAround parameter to SP 

C++ version of numenta/nupic#1229

Fixes #166