First LD

I will probably be using a personal vector (and some other functions) library available at http://github.com/ChickenProp/ph-utils .