1. A computer implemented method comprising the steps of: selecting a model created in a software environment that is executable in said software environment; inserting source code into said model so as to monitor each keystroke and mouse click, and selectively decide if a specific action is executed; identifying key inputs and key outputs of said model; identifying each of the model threads that lead from the key inputs to the key outputs; identifying patterns and relationships in said threads; generating compilable mathematical code that reflects the logic of the model and which is based on one or more of said inputs, outputs, threads, patterns, and relationships, wherein said mathematical code comprises mathematical equations, formulas, or functions based on the analyzed model; compiling the mathematical code to create an executable file; opening said executable file, modifying the inputs, and processing the mathematical code to generate new outputs, wherein said executable file can run in a runtime environment outside of said software environment, and is encrypted to prevent an end-user from modifying the mathematical equations, formulas, or functions of the mathematical code.