Add det function, minor edits
Doc edit
Update criterium dependency