Add checkVar and checkDF functions

New functions for performing sanity checks on data