fork of gonum for testing added temporarily