The J-matrix Method: Developments and Applications