Added error, corrected back-transform