fix deg of legendre in gauss hermite fits io