Computing matrix functions | Synapse