Broke up PyImage class from image operations. Added down sampling function.