averaging an array
averaging an array