android angle function fix