Added mask to CCModel.generateBlock
Fixed misleading variable name in MultiIconTransformation.setIconIndex