Connecting first year linear algebra, computer programming and material science