mostly compiles. interface twixt c and fortran is broken. (c needs to be brought up to date with fortran.)