PROJALPHA-6 Updated epsilon calculation and added unit test.