Added comments and fixed a bad value in the constants.