Updated math for paper