mathematical solutions for architecture