Fixed orientation problems. Also Moore neighborhoods.