Code accompanying the paper "Globally Optimal Learning for Structured Elliptical Losses", published at NeurIPS 2019