Efficient algorithms for dynamic aperture and momentum acceptance calculation | Synapse