Linear algebra in R - UH