Fortran Cannot Allocate Memory