Implemented function for avg data, updated manual