Preparations for calculations