Federal Supreme Court jails man for funding terrorist groups