Factors affecting the performance of simple machines