Merge pull request #40 from SupunS/master

Changed return type of getSamplepoints()