Restored Jina's changes to sechiba.f90 from changeset 4618 (accidentally overwrote these in my last commit).