Added irregular wave inflection

 Added irregular wave inflection so waves no longer gets singularized into wafe.