Updated class Wave and added classes Wavelike and BoundarySpot