Linear algebra and its applications