add mathstruct doc