Refactor TexConv.h