bug fix
add scaling constant
change y fudge to additive instead of max