Translating and Optimising Computational Microscopy Algorithms with Large Language Models