bugfixes: in calculation of vorticity-based thickness ; also: changes of upper bound for integrations (maybe needs some discussion)