Starting with a location estimated by any existing minutia-detection algorithm, and
correcting for known biases, the minutia can be located more accurately by optimizing
the function given above. Here we have used gradient descent (about five iterations
suffice) to improve the translation and rotation parameters of the minutia.