Fetched changes from /SciRuby/nmatrix/tree/mpomp