The application of boundary layer theory to the convective flow of a fluid with a depth dependent viscosity