GetRay

Scaled geRay to the width and height