Compute diversity and round up to closest 5 for webapi
style fixes