How can I add more functions to Math module locally to my sever. What file(s) of pxt-maker should I edit to add new functions?

How can I add more functions to Math module locally to my sever. What file(s) of pxt-maker should I edit to add new functions?

You can add them via a new package as long as they are in the Math namespace.
Thanks 