Added wrapAround parameter to SP 

C++ version of numenta/nupic#1229

Fixes #166
Great catch.  I made the changes.