Very Basic Rational Geometry code