Snell's Law : A Calculus Based Proof