A Three-dimensional Model of the Solar Wind Incorporating Solar Magnetogram Observations