new pixel perfect collision code (w/ test-demo)