Acknowledgements This code was developed using Jon Barron's public academic website: https://jonbarron.info/.