Made unify_directionally not have a pointless output parameter.
Implemented unify_directionally.