An R function to calculate the viewing angle (e.g. when looking at two stimuli on a computer screen)