added comments to calculation of macro shocks in singlefirm.m