# cular calculate function from 3 given input coordinates