Wave equation fixed. Usage of dot product instead of multiplication sym