Added beginning of QPO implementation to notebook