Create getnfac

Finds the number of factors in approximate factor model bai and ng (2002)