added output of additional variable T to check covariance structure, also created new matlab script to process the outputs