Computerized determination of the preconsolidation stress in compaction testing of field core samples