added a helper static method to calculate px from dip values
Merge pull request #59 from arpit/master

added a helper static method to calculate px from dip values