Text this: Optimum Design of End-Pumped Solid-State Lasers