RelPos function

Calculates Relative Position of a focal cell