improved angle search (does not fully work yet)

Just the basis of it. I will work on it at a further time, for now the angle search range is still fixed, and can be manually setted. Also switched back from angles to radians again.