Fixed scanf for each matrix data and added 20 decimals to run time.