Pseudo code

cause i'm shit and can't do vector maths.

the shit between the large ------------ is the goods.