SP: Assert that number of input dimensions equals number of column dimensions

Fixes https://github.com/numenta/nupic.core/issues/91

@scottpurdy