Statistics for Two dimensional COS method for pricing early-exercise and discrete barrier options under the Heston Model