More options for sampling.. also creation of U-matrix