Finished ScalarEncoder initialization and ScalarEncoderTest for same

Fixes #62