Revert "make algorithm of reading material type more robust"
Revert "make algorithm of reading material type more robust"

This reverts commit 2b3630ba9fdcd218c659465988535ec9323ce11b.

SCOREC/phasta,SCOREC/phasta,SCOREC/phasta