Electromagnetic Field Quantization & Applications to the Casimir Effect