Allow NumericLinear function to be built from any LinearFunction (fix #32)