Hamilton encouraged by Mercedes after finding car ‘direction’