Optimization Of A Laser Plasma Accelerator Through Pulse Characterization And Controlled Spatiotemporal Coupling