Fixed Memory Leak

Fixed a leak when running the Wave function in the Tile class