Direct Evaluation of Large-Deviation Functions | Synapse