Added thread and matrix size spinner