Merge pull request #72 from cogmission/encoderwork

Encoderwork
Final completion of ScalarEncoder, ScalarEncoderTest, Encoder base class
Merge branch 'master' into encoderwork