Added time-dependent boundary conditions

Author: Jens Madsen

BD: Modified to use mesh->GlobalX and mesh->GlobalY functions
    rather than getMX() and getMY().