Add function to cut rate in half
Merge branch 'rate-hybrid' of github.com:aomanaloto1/thesis-code into rate-hybrid