acos replaced to atan2 and will be replaced to most performance cos comparison soon