Issue #11 - Update  to account for negatives in JS

zchanged method updated to account for the use of negative values