implemented getpos for fock
implemented basic accessors for basis types