RayOrigin calculations were incorrect when using a BoxCollider2D component where the center point was not 0,0

The center point of the BoxCollider2D component is now taken into account when calculating ray origins.