pub fn margin3<T: Float>(m: T, a: Fn3<T>) -> Fn3<T>where f64: Cast<T>,
Adds a margin to input of a 3d -> 3d function.
3d -> 3d