Added sortHand() back into valueHand() - seems to resolve calculation of Aces.  Refactored functions for clarity.
Added additional comments; cleaned up for readability.