New functions (multiply() and close()) and several errors corrected in Chain().