finished note with references, fixed q/p plots