Applying Fractals in Astronomy