How do I take the average and Standard Deviation from an array of long integers?