Cleaned up program, switched to SciPy constants.