Vector angle function.