Mask_calcRunLength() has been refactored out from Mask_evaluateSymbol(). New test code for Mask_calcRunLength has been added.