removed seed keyword in write_ratraninput function per joes recommendation