Pseudospectral element model for free surface viscous flows