Modelling and measuring complexity of traditional and ancient technologies using petri nets