CRA-504
Generate trend cubes corresponding to stratigraphic depth and twt.
Fixed some bugs in xmlmodelfile.cpp.