A new class of atomic basis functions for accurate electronic structure calculations of molecules