Provide function for optimizing constant flip angle schemes