Changed indexing of JGinv_dyn_upts/fpts for better cache efficiency.