added gradient map and tangents