Added direction data tosobel