New constructor taking 3 functions and 3 coefficients