updated paper and paper 2 math

Signed-off-by: Justin Horowitz <justin.horowitz@gmail.com>