Doing the mathematics of asset allocation right