Removed empty lib.c
Added deleting vectors and matrix. Matrix should be created as one vector.