Something's funky wih my ray generation algorithm..