Added some example scripts which showcase the functionality of the package. Fixed minor bugs.