Sub algorithms for the ray tracing reverb