pub fn smootherstep(t: f32) -> f32
utility function which maps a value [0, 1] -> [0, 1] using the smootherstep function