Updated the radmc3d formula to fix the previously worked on bugs using a
patch rather than inreplace.