fn power(x: f64, t: f64) -> f64
Generalised power function, pushes values in the range 0-1 to extremes.