Molecular orbital calculations of valency within the framework of a general non-singular transformation of the atomic orbital basis sets