working signed right angle distance