Hello,
I am a data scientist anr a programmer.
I read your project description and looked into the two word files you uploaded and I can do what you need in R, Python or Fortran, even tough the files explicitly direct to using Fortran.
I will be waiting for your reply for further discussion.
Thank you