Performance of a modified particle swarm optimization in determining the thickness of the liquid layer outside a well casing pipe