Relative position calculation

function to calculate relative camera position in relation to look at