A peek at the art and science of understanding our behavior to create functional spaces within a building.