A general methodology and a free software for the demand calibration of DTA models