The use of first and second derivatives in optical model parameter searches