Fixed bug in NewBasisSumFunction constructor--affected derivatives of NewBasisSumFunction.