Replace multiple lines (coordinates) for quantum mechanics' inputs files.