Updated script with measurement data for building and floor. It gave a
nullpointer exception in certain situations.