replicate variation

calculate variation among replicates and variance among samples