(Temporary update)

Started to work in generalising GCFint. All work in comments except for a change from 1 to 0 based indexing.

(Do not merge)