Adding Calculation Functions for Historical Data

Started adding calculation functions for historical data.  Started with
average close.
Added Test Cases for calc.go

Added test case for calc.go and CalcAvgClose method.