Added another pattern match for a fortran array that is local.
This breaks the previous assumption that Fortray Arrays are GlobalValue.
The names of functions were getting a little unweildy, so I renamed the
Fortran related functions here.
WIP: I need to minimise the testcase