unused variables error fixed for slc6

Fixed by commenting out 
  unused variable 'instlumi'
  unused variable 'corrfac'