overloaded swap function added and temporary LBMGrid added to LBM class