Spectral-Difference Method for Astrophysical Fluid Dynamics