Understanding total sulphur in coal