Add function bicg
Merge branch 'bicg' into develop