checkData function

Checks a dataset for obvious clangers