Any particular reason why you do not use Abs, when you want the value to be positive? Either on the input side, or the output side?