Gorgeous $23M mansion in the woods has a design inspired by math