Fixing REM calculator

I've fixed the REM Calculator. Not sure if Chris Coyer has fixed his,
but I've rejigged the calculations and it now works nicely, for my
workflow at any rate.