COMP: Minor code re-organization to increase speed
COMP: Minor code re-organization to increase speed

thewtex/TubeTK,KitwareMedical/TubeTK,thewtex/TubeTK,cdeepakroy/TubeTK,LucasGandel/TubeTK,aylward/ITKTubeTK,cdeepakroy/TubeTK,matthieuheitz/TubeTK,cdeepakroy/TubeTK,sumedhasingla/TubeTK,LucasGandel/TubeTK,KitwareMedical/ITKTubeTK,sumedhasingla/TubeTK,thewtex/TubeTK,sumedhasingla/TubeTK,KitwareMedical/TubeTK,KitwareMedical/ITKTubeTK,KitwareMedical/TubeTK,cdeepakroy/TubeTK,KitwareMedical/TubeTK,matthieuheitz/TubeTK,KitwareMedical/ITKTubeTK,matthieuheitz/TubeTK,aylward/ITKTubeTK,thewtex/TubeTK,sumedhasingla/TubeTK,KitwareMedical/ITKTubeTK,LucasGandel/TubeTK,aylward/ITKTubeTK,matthieuheitz/TubeTK,LucasGandel/TubeTK,aylward/ITKTubeTK