This sounds like vasospasm. Getting a 'better' latch will help, and adjusting positioning is likely to help with latch, but with vasospasm what else might help is applying warmth to your nipples...