casting just aint working
remove cast
aha, I think I've just been forgetting to do cast<float>(input) with parens aroun (input). cast seems to compile now