A New Second Order Approximation for Fractional Derivatives with Applications