Created C++ function for computing vector of entries from the product of low-rank factors
Fixed syntax errors in the Rcpp matrix entry accesses.
Fixed off-by-one bug. Now maskUV works correctly in tests.
Got the APG base algorithm working. It works great on 1 slice, but the error goes WAY up for more than one slice. Unclear if this is our fault, but it probably is...