Adjusted matrix computation
Modified way in which output are given