varPartitioning.gllvm function

Calculate variance partitioning