Changed faderange to work with decimals.