Legendre expanded to return 0 as well as 1, -1