your first task is to fill in the code for the function dimensionality reduction that takes in a data matrix xrun and returns the k-dimensional pca-reduced data matrix xreduced. note that this task is nearly identical to the 2d data visualization task from homework 7, except there you only retained the top 2 eigenvectors,