working version

after DPERM has been corrected for directionality. Before mine_NPV
decision criteria and random other firm decision criteria are
implemented