got rid of obsolete code that had to do with use of GPU
drove me nuts when stepping in to debug - got multiple functions calls out of the function call arguments
the main thing here is a bug in Vequal (comparing pointers to two vectors instead of the actual vectors).
Also changed a couple of arguments to const refs to avoid calling copy constructors left and right.
cosmetics, no big deal