Created function to get mean/average of each stock over all days.