params registered, sample modified (log-det), gitignore modified