Corrected ypot in UI