use reference object to determine number of closed orbitals for set_active in zcas
Merge branch 'master' of https://github.com/shiozaki/BAGEL

# By Toru Shiozaki
# Via Toru Shiozaki
* 'master' of https://github.com/shiozaki/BAGEL:
  did not compile