Corrected output range to -1..1