Still in the process of supporting nucleotide sets

Moved the setLeaves method inside the SMTree structure for better
encapsulation. Implemented the fixStates method at the node element
level to allow multiple states to intialize a leaf.