Add captions in dev notes
Fix dot product calculation to use tangent