From Art to Mathematics in the Paintings of Theo van Doesburg