Implementing optimal control pulse shaping for improved single-qubit gates