Small fix and test
Small fix and test

Redefined Z_pipe_out and Z_pipe_in, which were not following Wang's
definition. Rewrote the calculation code to test it... but the matrix A
is still singular.

architecture-building-systems/CityEnergyAnalyst,architecture-building-systems/CityEnergyAnalyst,architecture-building-systems/CityEnergyAnalyst