RADMC-3D: A multi-purpose radiative transfer tool