The Use of Wavelet Transforms in the Solution of Two-Phase Flow Problems