Moves the split angle code to compute_theta()