An implementation of the minimum-variance allocation algorithm in Robert C. Merton's 1972 paper "An Analytic Derivation of the Efficient Portfolio Frontier."