Machine tool displacements model for workpiece accuracy monitoring