Add some text to the tex and fix functions

- pF now doesn't give errors anymore
- remove some whitespace