Refactor for issue #6

Refactor code to determine what clefs are available for shading fix.
(Issue #6)