clone of math.net to introduce even more laziness