Better XC interface.

XC potential generation is improved and prepared for GGA.
Muffin-tin part must be moved to a separate function.