Fix mistakes in zad5 code

* swap the order of thread count and matrix size params,
* correctly initialize dim3 structs for CUDA kernel invoke,
* make the time-calculating function name clearer by specifying units
Merge branch 'dev' of https://github.com/M4GiK/prir-laboratories into dev