added a bit of polish and error control to series addition