Added example using binary PSR function
Changed ln to log