Overloaded arrayAverage() function. It works!

Signed-off-by: shrimpboyho <shrimpboyhoftw@gmail.com>