added n_components as command line parameter