mostly change REAL*8 declarations to modern style