At the heart of the issue is the quaternion julia set ray caster, written by Tom Malzbender. I made only slight modifications to the ray caster. I added perspective projection, the ability to have an arbitrary frustum depth, a parallel implementation, and a few more transformations than were being done originally.