You can use MultiChain to store the computation to be performed (both the code and its inputs), so that you're guaranteed that all nodes agree on that information. The computation itself has to be performed by external application code, which you should take care to ensure is identical on all the systems. You can consider this as part of the same responsibility as ensuring that all the nodes are running the same blockchain software.