use arrayValuesToNumbers in NPV