More tests, comments and minor changes

Had to remove to dot in .scale in order for it to work with Python 3.4

Added comments with suggestions for small changes.