Fix to PImage, removing the ref to pInst as it was not actually used.
Merge pull request #175 from tafsiri/pimage-instance-fix

Fix to PImage, removing the ref to pInst as it was not actually used.
updating min and max to work with arrays #170
unit test to min() max() with arrays #170
new build