beautify: fix contrast adjustment not work

bvals.contrast is gint, so divided by a int(50) is 0 or 1
change to dividen to a float would be OK.