added function to use PEER to remove confounders