changed mesh accessor routines to return pointers to const instead of copying data