PIP implementation

Perceptually Important Points algorithm
PIP test
turning points implementation
turning points test