updates .gitignore file
speeds up mesh resolution check; updates comments and replaces dot_product() call with explicit calculation
updates cuda routines, uses better indexing and pointer declarations
adds more tests