Modified calls and documentation using .path.package(), which is no longer used and will be deprecated. Bumped version to 2.3.1. Submitted to CRAN.