Add mean average precision calculation