Calculate Average Cost Per Share