Use jblas functions to compute ata and atb.