trying to fix the new field lines function so may as well add a load of functions I'm not going to use