Clean up API for checking memory access. Add debug code.
Clean up API for checking memory access. Add debug code.

madscientist159/vecmathlib,madscientist159/vecmathlib,madscientist159/vecmathlib,madscientist159/vecmathlib