added function meshintegrity to check if main components of a mesh are sensible/existent.
implemented meshintegrity into functions (avoiding a lot of duplicated code)
bumped version to daily