Lorentz line type automatic peak finding algorithm, matlab implementation