Added a temporary angle debugging function