Applications of B-splines in Atomic and Molecular Physics