Update and rename legendre.py to special.py