in.levelset -> in.molevelset.
Switch to S3 methods and fix divide by 0 bug.