This one provides good results, however, the sign of Ty does not matter for the results, so the method to determine it is missing