Added comments, removed sampling methods they belong elsewhere.