Code I have written/modified, for a physics research project