A local density functional description of the properties of UPt3