Fixed arrayReduce() bug
Added difference(), variance() functions