Feature/mfr pdf

Working but not ready for merge.
"mako" does not need to be in the name of this function. Mako is an implementation detail that the user does not need to know about.