Aggregate Function for Mongo DB to get average prices