Added a subFunction, Also updates Function

this is an example timesTwo function
still unsure if this will work with Jasymca, but trying anyway