You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by mb...@apache.org on 2024/04/18 19:11:06 UTC

(systemds) branch main updated (20e7dd0800 -> 90f749ea44)

This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


    from 20e7dd0800 [SYSTEMDS-3538] New word-error-rate builtin function for TPCx-AI
     new c3f13c82fd [MINOR] Cleanup code quality issues (imports, other warnings)
     new 90f749ea44 [MINOR] Cleanup matrix value/block access methods (get/set)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../api/mlcontext/MLContextConversionUtil.java     |   7 +-
 .../sysds/hops/estim/EstimatorDensityMap.java      |   6 +-
 .../apache/sysds/hops/estim/EstimatorSampleRa.java |   2 +-
 .../sysds/hops/recompile/LiteralReplacement.java   |   4 +-
 .../sysds/runtime/codegen/SpoofMultiAggregate.java |  12 +-
 .../sysds/runtime/codegen/SpoofOperator.java       |   4 +-
 .../sysds/runtime/codegen/SpoofOuterProduct.java   |   2 +-
 .../apache/sysds/runtime/codegen/SpoofRowwise.java |   2 +-
 .../runtime/compress/CompressedMatrixBlock.java    |  26 +-
 .../runtime/compress/bitmap/BitmapEncoder.java     |   2 +-
 .../colgroup/ColGroupLinearFunctional.java         |   6 +-
 .../compress/colgroup/ColGroupUncompressed.java    |   8 +-
 .../colgroup/dictionary/DictionaryFactory.java     |  68 ++--
 .../dictionary/IdentityDictionarySlice.java        |   2 +-
 .../colgroup/dictionary/MatrixBlockDictionary.java |   6 +-
 .../colgroup/functional/LinearRegression.java      |   4 +-
 .../compress/colgroup/scheme/ConstScheme.java      |   4 +-
 .../compress/colgroup/scheme/EmptyScheme.java      |   6 +-
 .../runtime/compress/lib/CLALibAggTernaryOp.java   |   2 +-
 .../runtime/compress/lib/CLALibBinaryCellOp.java   |   4 +-
 .../sysds/runtime/compress/lib/CLALibCompAgg.java  |  38 +-
 .../sysds/runtime/compress/lib/CLALibSlice.java    |   2 +-
 .../runtime/compress/lib/CLALibTernaryOp.java      |   6 +-
 .../apache/sysds/runtime/compress/utils/Util.java  |   2 +-
 .../controlprogram/federated/FederationUtils.java  |  30 +-
 .../controlprogram/paramserv/dp/DRSparkScheme.java |   4 +-
 .../paramserv/dp/DataPartitionSparkScheme.java     |   2 +-
 .../controlprogram/paramserv/dp/ORSparkScheme.java |   2 +-
 .../parfor/RemoteDPParForSparkWorker.java          |   4 +-
 .../parfor/ResultMergeLocalFile.java               |   3 +-
 .../controlprogram/parfor/ResultMergeMatrix.java   |  20 +-
 .../parfor/util/StagingFileUtils.java              |   2 +-
 .../sysds/runtime/frame/data/FrameBlock.java       |   4 +-
 .../frame/data/lib/FrameFromMatrixBlock.java       |   2 +-
 .../sysds/runtime/functionobjects/CTable.java      |  10 +-
 .../cp/AggregateTernaryCPInstruction.java          |   2 +-
 .../cp/AggregateUnaryCPInstruction.java            |   4 +-
 .../cp/MatrixBuiltinNaryCPInstruction.java         |   2 +-
 .../instructions/cp/QuaternaryCPInstruction.java   |   2 +-
 .../instructions/cp/StringInitCPInstruction.java   |   2 +-
 .../cp/UaggOuterChainCPInstruction.java            |   2 +-
 .../instructions/cp/VariableCPInstruction.java     |   4 +-
 .../fed/CumulativeOffsetFEDInstruction.java        |   8 +-
 .../fed/ParameterizedBuiltinFEDInstruction.java    |   4 +-
 .../fed/QuantilePickFEDInstruction.java            |  14 +-
 .../fed/QuaternaryWCeMMFEDInstruction.java         |   2 +-
 .../fed/QuaternaryWDivMMFEDInstruction.java        |   2 +-
 .../fed/UnaryMatrixFEDInstruction.java             |   8 +-
 .../spark/AggregateTernarySPInstruction.java       |   6 +-
 .../spark/CumulativeAggregateSPInstruction.java    |   4 +-
 .../spark/QuantilePickSPInstruction.java           |  18 +-
 .../spark/QuaternarySPInstruction.java             |   2 +-
 .../instructions/spark/SpoofSPInstruction.java     |  10 +-
 .../functions/ExtractBlockForBinaryReblock.java    |   2 +-
 .../instructions/spark/functions/ExtractGroup.java |   6 +-
 .../spark/functions/ExtractGroupNWeights.java      |   6 +-
 .../spark/utils/RDDAggregateUtils.java             |   2 +-
 .../spark/utils/RDDConverterUtils.java             |  10 +-
 .../instructions/spark/utils/RDDSortUtils.java     |  24 +-
 .../org/apache/sysds/runtime/io/WriterHDF5.java    |   4 +-
 .../sysds/runtime/io/WriterMatrixMarket.java       |  34 +-
 .../org/apache/sysds/runtime/io/WriterTextCSV.java |   6 +-
 .../apache/sysds/runtime/io/WriterTextCell.java    |  34 +-
 .../apache/sysds/runtime/io/WriterTextLIBSVM.java  |   6 +-
 .../apache/sysds/runtime/iogen/ReaderMapping.java  |  10 +-
 .../sysds/runtime/iogen/ReaderMappingIndex.java    |  10 +-
 .../sysds/runtime/matrix/data/CM_N_COVCell.java    |   4 +-
 .../sysds/runtime/matrix/data/CTableMap.java       |   2 +-
 .../sysds/runtime/matrix/data/LibCommonsMath.java  |  20 +-
 .../sysds/runtime/matrix/data/LibMatrixAgg.java    | 120 +++---
 .../data/LibMatrixAggUnarySpecialization.java      |  26 +-
 .../runtime/matrix/data/LibMatrixBincell.java      |  68 ++--
 .../matrix/data/LibMatrixCountDistinct.java        |  12 +-
 .../sysds/runtime/matrix/data/LibMatrixDNN.java    |   1 -
 .../sysds/runtime/matrix/data/LibMatrixEquals.java |   2 +-
 .../sysds/runtime/matrix/data/LibMatrixMult.java   |  60 +--
 .../runtime/matrix/data/LibMatrixOuterAgg.java     |  96 ++---
 .../sysds/runtime/matrix/data/LibMatrixReorg.java  |  35 +-
 .../sysds/runtime/matrix/data/LibMatrixSketch.java |   4 +-
 .../runtime/matrix/data/LibMatrixTercell.java      |  12 +-
 .../sysds/runtime/matrix/data/MatrixBlock.java     | 430 ++++++++++-----------
 .../sysds/runtime/matrix/data/MatrixCell.java      |   6 +-
 .../sysds/runtime/matrix/data/MatrixValue.java     |   4 +-
 .../matrix/data/sketch/CountDistinctSketch.java    |   4 +-
 .../countdistinct/CountDistinctFunctionSketch.java |  22 +-
 .../data/sketch/countdistinctapprox/KMVSketch.java |  70 ++--
 .../sysds/runtime/transform/decode/DecoderBin.java |   2 +-
 .../runtime/transform/decode/DecoderDummycode.java |   2 +-
 .../transform/decode/DecoderPassThrough.java       |   2 +-
 .../runtime/transform/decode/DecoderRecode.java    |   2 +-
 .../transform/encode/ColumnEncoderDummycode.java   |   8 +-
 .../encode/ColumnEncoderWordEmbedding.java         |   4 +-
 .../runtime/transform/encode/CompressedEncode.java |  12 +-
 .../runtime/transform/encode/EncoderMVImpute.java  |   4 +-
 .../runtime/transform/encode/EncoderOmit.java      |   2 +-
 .../transform/encode/MultiColumnEncoder.java       |   6 +-
 .../sysds/runtime/util/CommonThreadPool.java       |   2 -
 .../apache/sysds/runtime/util/DataConverter.java   |  36 +-
 .../apache/sysds/runtime/util/LocalFileUtils.java  |  17 +-
 .../sysds/runtime/util/Py4jConverterUtils.java     |   2 +-
 .../sysds/performance/generators/ConstMatrix.java  |   2 +-
 .../sysds/performance/micro/InformationLoss.java   |   4 +-
 .../org/apache/sysds/test/AutomatedTestBase.java   |   3 -
 src/test/java/org/apache/sysds/test/TestUtils.java |  16 +-
 .../compress/AbstractCompressedUnaryTests.java     |   4 +-
 .../component/compress/CompressedCustomTests.java  |   8 +-
 .../component/compress/CompressedMatrixTest.java   |  10 +-
 .../component/compress/CompressedTestBase.java     |  14 +-
 .../compress/CompressibleInputGenerator.java       |  26 +-
 .../compress/bitmap/BitMapSparseTest.java          |   4 +-
 .../test/component/compress/bitmap/BitMapTest.java |   6 +-
 .../component/compress/colgroup/ColGroupBase.java  |  22 +-
 .../component/compress/colgroup/ColGroupTest.java  |  14 +-
 .../estim/encoding/EncodeSampleCustom.java         |   2 +-
 .../component/compress/lib/CombineGroupsTest.java  |   2 +-
 .../compress/offset/OffsetTestPreAggregate.java    |  20 +-
 .../component/compress/readers/ReadersTest.java    |   6 +-
 .../readers/ReadersTestCompareReaders.java         |   4 +-
 .../test/component/frame/FrameAppendTest_Old.java  |   2 +-
 .../component/frame/FrameFromMatrixBlockTest.java  |   4 +-
 .../test/component/frame/FrameIndexingTest.java    |   6 +-
 .../test/component/frame/FrameRemoveEmpty.java     |   8 +-
 ...ransformCompressedTestSingleColBinSpecific.java |   2 +-
 .../test/component/matrix/CountDistinctTest.java   |   2 +-
 .../test/component/matrix/DenseAndSparseTest.java  |   2 +-
 .../sysds/test/component/matrix/EqualsTest.java    |  40 +-
 .../sysds/test/component/matrix/ProdTest.java      |   2 +-
 .../sysds/test/component/matrix/TSMMTest.java      |   6 +-
 .../component/matrix/TransposeInplaceTest.java     |   2 +-
 .../test/component/matrix/TransposeTwiceTest.java  |   2 +-
 .../sysds/test/component/matrix/UnaryOpTest.java   |  10 +-
 .../test/functions/aggregate/AggregateNaNTest.java |   2 +-
 .../data/misc/MatrixMarketFormatTest.java          |   2 +-
 .../test/functions/io/binary/BlocksizeTest.java    |   4 +-
 .../test/functions/io/binary/SerializeTest.java    |  10 +-
 .../test/functions/jmlc/NamespaceFunctionTest.java |   4 +-
 .../DataFrameVectorFrameConversionTest.java        |   2 +-
 .../mlcontext/DataFrameVectorScriptTest.java       |   2 +-
 .../recompile/CSVReadUnknownSizeTest.java          |   2 +-
 .../functions/recompile/ReblockRecompileTest.java  |   2 +-
 .../TransformApplyEmptyRecodeMapTest.java          |   2 +-
 .../transform/TransformApplyUnknownsTest.java      |  10 +-
 142 files changed, 956 insertions(+), 998 deletions(-)


(systemds) 01/02: [MINOR] Cleanup code quality issues (imports, other warnings)

Posted by mb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git

commit c3f13c82fd0898fd46d7951be7d1f5f1726f8e1e
Author: Matthias Boehm <mb...@gmail.com>
AuthorDate: Thu Apr 18 14:55:40 2024 +0200

    [MINOR] Cleanup code quality issues (imports, other warnings)
---
 .../apache/sysds/runtime/matrix/data/LibMatrixDNN.java  |  1 -
 .../org/apache/sysds/runtime/util/CommonThreadPool.java |  2 --
 .../org/apache/sysds/runtime/util/LocalFileUtils.java   | 17 ++++++-----------
 .../java/org/apache/sysds/test/AutomatedTestBase.java   |  3 ---
 4 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixDNN.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixDNN.java
index 540bebde8b..050c83776f 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixDNN.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixDNN.java
@@ -20,7 +20,6 @@ package org.apache.sysds.runtime.matrix.data;
 
 import java.util.ArrayList;
 import java.util.Arrays;
-import java.util.List;
 import java.util.concurrent.Callable;
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Future;
diff --git a/src/main/java/org/apache/sysds/runtime/util/CommonThreadPool.java b/src/main/java/org/apache/sysds/runtime/util/CommonThreadPool.java
index 0ffc91f550..a3af05fd6d 100644
--- a/src/main/java/org/apache/sysds/runtime/util/CommonThreadPool.java
+++ b/src/main/java/org/apache/sysds/runtime/util/CommonThreadPool.java
@@ -37,8 +37,6 @@ import org.apache.commons.logging.LogFactory;
 import org.apache.sysds.runtime.DMLRuntimeException;
 import org.apache.sysds.runtime.controlprogram.parfor.stat.InfrastructureAnalyzer;
 
-import scala.NotImplementedError;
-
 /**
  * This common thread pool provides an abstraction to obtain a shared thread pool.
  * 
diff --git a/src/main/java/org/apache/sysds/runtime/util/LocalFileUtils.java b/src/main/java/org/apache/sysds/runtime/util/LocalFileUtils.java
index 2b4f56f3e9..c7e2f4b040 100644
--- a/src/main/java/org/apache/sysds/runtime/util/LocalFileUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/util/LocalFileUtils.java
@@ -234,23 +234,18 @@ public class LocalFileUtils
 	 * @throws IOException if IOException occurs
 	 */
 	public static void writeWritableToLocal(String fname, Writable mb, boolean doubleBuffering) throws IOException {
-		final FastBufferedDataOutputStream out = //
-			new FastBufferedDataOutputStream(getOut(fname, doubleBuffering), BUFFER_SIZE);
+		OutputStream fout = doubleBuffering ?
+			new DoubleBufferingOutputStream(new FileOutputStream(fname), 2, BUFFER_SIZE) :
+			new FileOutputStream(fname);
+		FastBufferedDataOutputStream dout = new FastBufferedDataOutputStream(fout, BUFFER_SIZE);
 		try {
-			mb.write(out);
+			mb.write(dout);
 		}
 		finally {
-			IOUtilFunctions.closeSilently(out);
+			IOUtilFunctions.closeSilently(dout);
 		}
 	}
 
-	private static OutputStream getOut(String fname, boolean doubleBuffering) throws IOException{
-		if(doubleBuffering)
-			return new DoubleBufferingOutputStream(new FileOutputStream(fname), 2, BUFFER_SIZE);
-		else
-			return new FileOutputStream(fname);
-	}
-
 	public static void writeByteArrayToLocal( String fname, byte[] data )
 		throws IOException
 	{	
diff --git a/src/test/java/org/apache/sysds/test/AutomatedTestBase.java b/src/test/java/org/apache/sysds/test/AutomatedTestBase.java
index 1ee4df4628..30118ce7ca 100644
--- a/src/test/java/org/apache/sysds/test/AutomatedTestBase.java
+++ b/src/test/java/org/apache/sysds/test/AutomatedTestBase.java
@@ -37,9 +37,6 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Properties;
 import java.util.Set;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
 
 import org.apache.commons.io.FileUtils;


(systemds) 02/02: [MINOR] Cleanup matrix value/block access methods (get/set)

Posted by mb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git

commit 90f749ea44f2850ebd5e9f8906b5babd98e2cc1d
Author: Matthias Boehm <mb...@gmail.com>
AuthorDate: Thu Apr 18 21:09:57 2024 +0200

    [MINOR] Cleanup matrix value/block access methods (get/set)
    
    This patch removes the different getValue, quickGetValue, and
    getValueDenseUnsafe but using the quickGetValue by default, and
    otherwise properly working with dense block directly.
---
 .../api/mlcontext/MLContextConversionUtil.java     |   7 +-
 .../sysds/hops/estim/EstimatorDensityMap.java      |   6 +-
 .../apache/sysds/hops/estim/EstimatorSampleRa.java |   2 +-
 .../sysds/hops/recompile/LiteralReplacement.java   |   4 +-
 .../sysds/runtime/codegen/SpoofMultiAggregate.java |  12 +-
 .../sysds/runtime/codegen/SpoofOperator.java       |   4 +-
 .../sysds/runtime/codegen/SpoofOuterProduct.java   |   2 +-
 .../apache/sysds/runtime/codegen/SpoofRowwise.java |   2 +-
 .../runtime/compress/CompressedMatrixBlock.java    |  26 +-
 .../runtime/compress/bitmap/BitmapEncoder.java     |   2 +-
 .../colgroup/ColGroupLinearFunctional.java         |   6 +-
 .../compress/colgroup/ColGroupUncompressed.java    |   8 +-
 .../colgroup/dictionary/DictionaryFactory.java     |  68 ++--
 .../dictionary/IdentityDictionarySlice.java        |   2 +-
 .../colgroup/dictionary/MatrixBlockDictionary.java |   6 +-
 .../colgroup/functional/LinearRegression.java      |   4 +-
 .../compress/colgroup/scheme/ConstScheme.java      |   4 +-
 .../compress/colgroup/scheme/EmptyScheme.java      |   6 +-
 .../runtime/compress/lib/CLALibAggTernaryOp.java   |   2 +-
 .../runtime/compress/lib/CLALibBinaryCellOp.java   |   4 +-
 .../sysds/runtime/compress/lib/CLALibCompAgg.java  |  38 +-
 .../sysds/runtime/compress/lib/CLALibSlice.java    |   2 +-
 .../runtime/compress/lib/CLALibTernaryOp.java      |   6 +-
 .../apache/sysds/runtime/compress/utils/Util.java  |   2 +-
 .../controlprogram/federated/FederationUtils.java  |  30 +-
 .../controlprogram/paramserv/dp/DRSparkScheme.java |   4 +-
 .../paramserv/dp/DataPartitionSparkScheme.java     |   2 +-
 .../controlprogram/paramserv/dp/ORSparkScheme.java |   2 +-
 .../parfor/RemoteDPParForSparkWorker.java          |   4 +-
 .../parfor/ResultMergeLocalFile.java               |   3 +-
 .../controlprogram/parfor/ResultMergeMatrix.java   |  20 +-
 .../parfor/util/StagingFileUtils.java              |   2 +-
 .../sysds/runtime/frame/data/FrameBlock.java       |   4 +-
 .../frame/data/lib/FrameFromMatrixBlock.java       |   2 +-
 .../sysds/runtime/functionobjects/CTable.java      |  10 +-
 .../cp/AggregateTernaryCPInstruction.java          |   2 +-
 .../cp/AggregateUnaryCPInstruction.java            |   4 +-
 .../cp/MatrixBuiltinNaryCPInstruction.java         |   2 +-
 .../instructions/cp/QuaternaryCPInstruction.java   |   2 +-
 .../instructions/cp/StringInitCPInstruction.java   |   2 +-
 .../cp/UaggOuterChainCPInstruction.java            |   2 +-
 .../instructions/cp/VariableCPInstruction.java     |   4 +-
 .../fed/CumulativeOffsetFEDInstruction.java        |   8 +-
 .../fed/ParameterizedBuiltinFEDInstruction.java    |   4 +-
 .../fed/QuantilePickFEDInstruction.java            |  14 +-
 .../fed/QuaternaryWCeMMFEDInstruction.java         |   2 +-
 .../fed/QuaternaryWDivMMFEDInstruction.java        |   2 +-
 .../fed/UnaryMatrixFEDInstruction.java             |   8 +-
 .../spark/AggregateTernarySPInstruction.java       |   6 +-
 .../spark/CumulativeAggregateSPInstruction.java    |   4 +-
 .../spark/QuantilePickSPInstruction.java           |  18 +-
 .../spark/QuaternarySPInstruction.java             |   2 +-
 .../instructions/spark/SpoofSPInstruction.java     |  10 +-
 .../functions/ExtractBlockForBinaryReblock.java    |   2 +-
 .../instructions/spark/functions/ExtractGroup.java |   6 +-
 .../spark/functions/ExtractGroupNWeights.java      |   6 +-
 .../spark/utils/RDDAggregateUtils.java             |   2 +-
 .../spark/utils/RDDConverterUtils.java             |  10 +-
 .../instructions/spark/utils/RDDSortUtils.java     |  24 +-
 .../org/apache/sysds/runtime/io/WriterHDF5.java    |   4 +-
 .../sysds/runtime/io/WriterMatrixMarket.java       |  34 +-
 .../org/apache/sysds/runtime/io/WriterTextCSV.java |   6 +-
 .../apache/sysds/runtime/io/WriterTextCell.java    |  34 +-
 .../apache/sysds/runtime/io/WriterTextLIBSVM.java  |   6 +-
 .../apache/sysds/runtime/iogen/ReaderMapping.java  |  10 +-
 .../sysds/runtime/iogen/ReaderMappingIndex.java    |  10 +-
 .../sysds/runtime/matrix/data/CM_N_COVCell.java    |   4 +-
 .../sysds/runtime/matrix/data/CTableMap.java       |   2 +-
 .../sysds/runtime/matrix/data/LibCommonsMath.java  |  20 +-
 .../sysds/runtime/matrix/data/LibMatrixAgg.java    | 120 +++---
 .../data/LibMatrixAggUnarySpecialization.java      |  26 +-
 .../runtime/matrix/data/LibMatrixBincell.java      |  68 ++--
 .../matrix/data/LibMatrixCountDistinct.java        |  12 +-
 .../sysds/runtime/matrix/data/LibMatrixEquals.java |   2 +-
 .../sysds/runtime/matrix/data/LibMatrixMult.java   |  60 +--
 .../runtime/matrix/data/LibMatrixOuterAgg.java     |  96 ++---
 .../sysds/runtime/matrix/data/LibMatrixReorg.java  |  35 +-
 .../sysds/runtime/matrix/data/LibMatrixSketch.java |   4 +-
 .../runtime/matrix/data/LibMatrixTercell.java      |  12 +-
 .../sysds/runtime/matrix/data/MatrixBlock.java     | 430 ++++++++++-----------
 .../sysds/runtime/matrix/data/MatrixCell.java      |   6 +-
 .../sysds/runtime/matrix/data/MatrixValue.java     |   4 +-
 .../matrix/data/sketch/CountDistinctSketch.java    |   4 +-
 .../countdistinct/CountDistinctFunctionSketch.java |  22 +-
 .../data/sketch/countdistinctapprox/KMVSketch.java |  70 ++--
 .../sysds/runtime/transform/decode/DecoderBin.java |   2 +-
 .../runtime/transform/decode/DecoderDummycode.java |   2 +-
 .../transform/decode/DecoderPassThrough.java       |   2 +-
 .../runtime/transform/decode/DecoderRecode.java    |   2 +-
 .../transform/encode/ColumnEncoderDummycode.java   |   8 +-
 .../encode/ColumnEncoderWordEmbedding.java         |   4 +-
 .../runtime/transform/encode/CompressedEncode.java |  12 +-
 .../runtime/transform/encode/EncoderMVImpute.java  |   4 +-
 .../runtime/transform/encode/EncoderOmit.java      |   2 +-
 .../transform/encode/MultiColumnEncoder.java       |   6 +-
 .../apache/sysds/runtime/util/DataConverter.java   |  36 +-
 .../sysds/runtime/util/Py4jConverterUtils.java     |   2 +-
 .../sysds/performance/generators/ConstMatrix.java  |   2 +-
 .../sysds/performance/micro/InformationLoss.java   |   4 +-
 src/test/java/org/apache/sysds/test/TestUtils.java |  16 +-
 .../compress/AbstractCompressedUnaryTests.java     |   4 +-
 .../component/compress/CompressedCustomTests.java  |   8 +-
 .../component/compress/CompressedMatrixTest.java   |  10 +-
 .../component/compress/CompressedTestBase.java     |  14 +-
 .../compress/CompressibleInputGenerator.java       |  26 +-
 .../compress/bitmap/BitMapSparseTest.java          |   4 +-
 .../test/component/compress/bitmap/BitMapTest.java |   6 +-
 .../component/compress/colgroup/ColGroupBase.java  |  22 +-
 .../component/compress/colgroup/ColGroupTest.java  |  14 +-
 .../estim/encoding/EncodeSampleCustom.java         |   2 +-
 .../component/compress/lib/CombineGroupsTest.java  |   2 +-
 .../compress/offset/OffsetTestPreAggregate.java    |  20 +-
 .../component/compress/readers/ReadersTest.java    |   6 +-
 .../readers/ReadersTestCompareReaders.java         |   4 +-
 .../test/component/frame/FrameAppendTest_Old.java  |   2 +-
 .../component/frame/FrameFromMatrixBlockTest.java  |   4 +-
 .../test/component/frame/FrameIndexingTest.java    |   6 +-
 .../test/component/frame/FrameRemoveEmpty.java     |   8 +-
 ...ransformCompressedTestSingleColBinSpecific.java |   2 +-
 .../test/component/matrix/CountDistinctTest.java   |   2 +-
 .../test/component/matrix/DenseAndSparseTest.java  |   2 +-
 .../sysds/test/component/matrix/EqualsTest.java    |  40 +-
 .../sysds/test/component/matrix/ProdTest.java      |   2 +-
 .../sysds/test/component/matrix/TSMMTest.java      |   6 +-
 .../component/matrix/TransposeInplaceTest.java     |   2 +-
 .../test/component/matrix/TransposeTwiceTest.java  |   2 +-
 .../sysds/test/component/matrix/UnaryOpTest.java   |  10 +-
 .../test/functions/aggregate/AggregateNaNTest.java |   2 +-
 .../data/misc/MatrixMarketFormatTest.java          |   2 +-
 .../test/functions/io/binary/BlocksizeTest.java    |   4 +-
 .../test/functions/io/binary/SerializeTest.java    |  10 +-
 .../test/functions/jmlc/NamespaceFunctionTest.java |   4 +-
 .../DataFrameVectorFrameConversionTest.java        |   2 +-
 .../mlcontext/DataFrameVectorScriptTest.java       |   2 +-
 .../recompile/CSVReadUnknownSizeTest.java          |   2 +-
 .../functions/recompile/ReblockRecompileTest.java  |   2 +-
 .../TransformApplyEmptyRecodeMapTest.java          |   2 +-
 .../transform/TransformApplyUnknownsTest.java      |  10 +-
 138 files changed, 950 insertions(+), 981 deletions(-)

diff --git a/src/main/java/org/apache/sysds/api/mlcontext/MLContextConversionUtil.java b/src/main/java/org/apache/sysds/api/mlcontext/MLContextConversionUtil.java
index 7a35789812..7e903428ae 100644
--- a/src/main/java/org/apache/sysds/api/mlcontext/MLContextConversionUtil.java
+++ b/src/main/java/org/apache/sysds/api/mlcontext/MLContextConversionUtil.java
@@ -49,6 +49,7 @@ import org.apache.sysds.runtime.DMLRuntimeException;
 import org.apache.sysds.runtime.controlprogram.caching.FrameObject;
 import org.apache.sysds.runtime.controlprogram.caching.MatrixObject;
 import org.apache.sysds.runtime.controlprogram.context.SparkExecutionContext;
+import org.apache.sysds.runtime.data.DenseBlock;
 import org.apache.sysds.runtime.frame.data.FrameBlock;
 import org.apache.sysds.runtime.instructions.spark.data.DatasetObject;
 import org.apache.sysds.runtime.instructions.spark.data.RDDObject;
@@ -976,13 +977,14 @@ public class MLContextConversionUtil {
 					list.add(sb.toString());
 				}
 			} else {
+				DenseBlock d = mb.getDenseBlock();
 				for (int i = 0; i < rows; i++) {
 					StringBuilder sb = new StringBuilder();
 					for (int j = 0; j < cols; j++) {
 						if (j > 0) {
 							sb.append(",");
 						}
-						sb.append(mb.getValueDenseUnsafe(i, j));
+						sb.append(d.get(i, j));
 					}
 					list.add(sb.toString());
 				}
@@ -1056,6 +1058,7 @@ public class MLContextConversionUtil {
 				}
 			} else {
 				StringBuilder sb = null;
+				DenseBlock d = mb.getDenseBlock();
 				for (int i = 0; i < rows; i++) {
 					sb = new StringBuilder();
 					for (int j = 0; j < cols; j++) {
@@ -1064,7 +1067,7 @@ public class MLContextConversionUtil {
 						sb.append(" ");
 						sb.append(j + 1);
 						sb.append(" ");
-						sb.append(mb.getValueDenseUnsafe(i, j));
+						sb.append(d.get(i, j));
 						list.add(sb.toString());
 					}
 				}
diff --git a/src/main/java/org/apache/sysds/hops/estim/EstimatorDensityMap.java b/src/main/java/org/apache/sysds/hops/estim/EstimatorDensityMap.java
index c7969de06f..002ab88c0e 100644
--- a/src/main/java/org/apache/sysds/hops/estim/EstimatorDensityMap.java
+++ b/src/main/java/org/apache/sysds/hops/estim/EstimatorDensityMap.java
@@ -215,7 +215,7 @@ public class EstimatorDensityMap extends SparsityEstimator
 		m1Map.toSparsity();
 		for(int i=0; i<m1Map.getNumRows(); i++)
 			for(int j=0; j<m1Map.getNumColumns(); j++)
-				out.quickSetValue(i, j, 1-m1Map.get(i, j));
+				out.set(i, j, 1-m1Map.get(i, j));
 		return new DensityMap(out, m1Map.getNumRowsOrig(),
 			m1Map.getNumColumnsOrig(), _b, m1Map._scaled);
 	}
@@ -281,7 +281,7 @@ public class EstimatorDensityMap extends SparsityEstimator
 		}
 		
 		public double get(int r, int c) {
-			return _map.quickGetValue(r, c);
+			return _map.get(r, c);
 		}
 		
 		public void toSparsity() {
@@ -352,7 +352,7 @@ public class EstimatorDensityMap extends SparsityEstimator
 			else {
 				for(int i=0; i<_rlen; i++) {
 					for(int j=0; j<_clen; j++) {
-						double aval = in.quickGetValue(i, j);
+						double aval = in.get(i, j);
 						if( aval != 0 )
 							c.incr(i/_b, j/_b);
 					}
diff --git a/src/main/java/org/apache/sysds/hops/estim/EstimatorSampleRa.java b/src/main/java/org/apache/sysds/hops/estim/EstimatorSampleRa.java
index fbe0bc5652..86b0c35e91 100644
--- a/src/main/java/org/apache/sysds/hops/estim/EstimatorSampleRa.java
+++ b/src/main/java/org/apache/sysds/hops/estim/EstimatorSampleRa.java
@@ -257,7 +257,7 @@ public class EstimatorSampleRa extends SparsityEstimator
 			else {
 				for(int i=0; i<mb.getNumRows(); i++)
 					for(int j=0; j<mb.getNumColumns(); j++)
-						if( mb.quickGetValue(i, j) != 0 )
+						if( mb.get(i, j) != 0 )
 							indexes[row?i:j].add(row?j:i);
 			}
 		}
diff --git a/src/main/java/org/apache/sysds/hops/recompile/LiteralReplacement.java b/src/main/java/org/apache/sysds/hops/recompile/LiteralReplacement.java
index fdd112ac07..1a40ada94e 100644
--- a/src/main/java/org/apache/sysds/hops/recompile/LiteralReplacement.java
+++ b/src/main/java/org/apache/sysds/hops/recompile/LiteralReplacement.java
@@ -212,7 +212,7 @@ public class LiteralReplacement
 				MatrixBlock mBlock = mo.acquireRead();
 				if( mBlock.getNumRows()!=1 || mBlock.getNumColumns()!=1 )
 					throw new DMLRuntimeException("Dimension mismatch - unable to cast matrix of dimension ("+mBlock.getNumRows()+" x "+mBlock.getNumColumns()+") to scalar.");
-				double value = mBlock.getValue(0,0);
+				double value = mBlock.get(0,0);
 				mo.release();
 				
 				//literal substitution (always double)
@@ -253,7 +253,7 @@ public class LiteralReplacement
 				if( mo.getNumRows()*mo.getNumColumns() < REPLACE_LITERALS_MAX_MATRIX_SIZE )
 				{
 					MatrixBlock mBlock = mo.acquireRead();
-					double value = mBlock.getValue((int)rlval-1,(int)clval-1);
+					double value = mBlock.get((int)rlval-1,(int)clval-1);
 					mo.release();
 					
 					//literal substitution (always double)
diff --git a/src/main/java/org/apache/sysds/runtime/codegen/SpoofMultiAggregate.java b/src/main/java/org/apache/sysds/runtime/codegen/SpoofMultiAggregate.java
index 6856b2e30a..6a35ec1f85 100644
--- a/src/main/java/org/apache/sysds/runtime/codegen/SpoofMultiAggregate.java
+++ b/src/main/java/org/apache/sysds/runtime/codegen/SpoofMultiAggregate.java
@@ -254,15 +254,15 @@ public abstract class SpoofMultiAggregate extends SpoofOperator
 		
 		for( int k=0; k< aggOps.length; k++ ) {
 			if( vfun[k] instanceof KahanFunction ) {
-				KahanObject kbuff = new KahanObject(c.quickGetValue(0, k), 0);
+				KahanObject kbuff = new KahanObject(c.get(0, k), 0);
 				KahanPlus kplus = KahanPlus.getKahanPlusFnObject();
-				kplus.execute2(kbuff, b.quickGetValue(0, k));
-				c.quickSetValue(0, k, kbuff._sum);
+				kplus.execute2(kbuff, b.get(0, k));
+				c.set(0, k, kbuff._sum);
 			}
 			else {
-				double cval = c.quickGetValue(0, k);
-				double bval = b.quickGetValue(0, k);
-				c.quickSetValue(0, k, vfun[k].execute(cval, bval));
+				double cval = c.get(0, k);
+				double bval = b.get(0, k);
+				c.set(0, k, vfun[k].execute(cval, bval));
 			}
 		}
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/codegen/SpoofOperator.java b/src/main/java/org/apache/sysds/runtime/codegen/SpoofOperator.java
index f2700911fa..417762f83a 100644
--- a/src/main/java/org/apache/sysds/runtime/codegen/SpoofOperator.java
+++ b/src/main/java/org/apache/sysds/runtime/codegen/SpoofOperator.java
@@ -199,7 +199,7 @@ public abstract class SpoofOperator implements Serializable
 	protected static double getValue(SideInput data, int rowIndex) {
 		//note: wrapper sideinput guaranteed to exist
 		return (data.ddat!=null) ? data.ddat.valuesAt(0)[rowIndex] :
-			(data.mdat!=null) ? data.mdat.quickGetValue(rowIndex, 0) : 0;
+			(data.mdat!=null) ? data.mdat.get(rowIndex, 0) : 0;
 	}
 	
 	protected static double getValue(SideInput data, int n, double rowIndex, double colIndex) {
@@ -213,7 +213,7 @@ public abstract class SpoofOperator implements Serializable
 		return (data.ddat!=null) ? data.ddat.get(rowIndex, colIndex) :
 			(data instanceof SideInputSparseCell) ? 
 			((SideInputSparseCell)data).next(rowIndex, colIndex) :
-			(data.mdat!=null) ? data.mdat.quickGetValue(rowIndex, colIndex) : 0;
+			(data.mdat!=null) ? data.mdat.get(rowIndex, colIndex) : 0;
 	}
 	
 	protected static double[] getVector(SideInput data, int n, double rowIndex, double colIndex) {
diff --git a/src/main/java/org/apache/sysds/runtime/codegen/SpoofOuterProduct.java b/src/main/java/org/apache/sysds/runtime/codegen/SpoofOuterProduct.java
index 184114c38d..ced52f76ae 100644
--- a/src/main/java/org/apache/sysds/runtime/codegen/SpoofOuterProduct.java
+++ b/src/main/java/org/apache/sysds/runtime/codegen/SpoofOuterProduct.java
@@ -662,7 +662,7 @@ public abstract class SpoofOuterProduct extends SpoofOperator
 				executeCellwiseDense(_a.getDenseBlock(), _u, _v, _b, _scalars, out.getDenseBlock(), _rlen, _clen, _k, _type, _rl, _ru, _cl, _cu);
 			else
 				executeCellwiseSparse(_a.getSparseBlock(), _u, _v, _b, _scalars, out, _rlen, _clen, _k, _a.getNonZeros(), _type, _rl, _ru, _cl, _cu);
-			return out.quickGetValue(0, 0);
+			return out.get(0, 0);
 		}
 	}
 }
diff --git a/src/main/java/org/apache/sysds/runtime/codegen/SpoofRowwise.java b/src/main/java/org/apache/sysds/runtime/codegen/SpoofRowwise.java
index a043356a2c..eab223bc97 100644
--- a/src/main/java/org/apache/sysds/runtime/codegen/SpoofRowwise.java
+++ b/src/main/java/org/apache/sysds/runtime/codegen/SpoofRowwise.java
@@ -156,7 +156,7 @@ public abstract class SpoofRowwise extends SpoofOperator
 		MatrixBlock out = ( k > 1 ) ?
 			execute(inputs, scalarObjects, new MatrixBlock(1,1,false), k) :
 			execute(inputs, scalarObjects, new MatrixBlock(1,1,false));
-		return new DoubleObject(out.quickGetValue(0, 0));
+		return new DoubleObject(out.get(0, 0));
 	}
 	
 	@Override
diff --git a/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java b/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java
index b558db8516..79951b4b4b 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java
@@ -367,7 +367,7 @@ public class CompressedMatrixBlock extends MatrixBlock {
 	}
 
 	@Override
-	public double quickGetValue(int r, int c) {
+	public double get(int r, int c) {
 		if(isOverlapping()) {
 			double v = 0.0;
 			for(AColGroup group : _colGroups)
@@ -655,19 +655,19 @@ public class CompressedMatrixBlock extends MatrixBlock {
 	@Override
 	public double max() {
 		AggregateUnaryOperator op = InstructionUtils.parseBasicAggregateUnaryOperator("uamax", 1);
-		return aggregateUnaryOperations(op, null, 1000, null).getValue(0, 0);
+		return aggregateUnaryOperations(op, null, 1000, null).get(0, 0);
 	}
 
 	@Override
 	public double min() {
 		AggregateUnaryOperator op = InstructionUtils.parseBasicAggregateUnaryOperator("uamin", 1);
-		return aggregateUnaryOperations(op, null, 1000, null).getValue(0, 0);
+		return aggregateUnaryOperations(op, null, 1000, null).get(0, 0);
 	}
 
 	@Override
 	public double sum() {
 		AggregateUnaryOperator op = InstructionUtils.parseBasicAggregateUnaryOperator("uak+", 1);
-		return aggregateUnaryOperations(op, null, 1000, null).getValue(0, 0);
+		return aggregateUnaryOperations(op, null, 1000, null).get(0, 0);
 	}
 
 	@Override
@@ -683,19 +683,19 @@ public class CompressedMatrixBlock extends MatrixBlock {
 	@Override
 	public double sumSq() {
 		AggregateUnaryOperator op = InstructionUtils.parseBasicAggregateUnaryOperator("uasqk+", 1);
-		return aggregateUnaryOperations(op, null, 1000, null).getValue(0, 0);
+		return aggregateUnaryOperations(op, null, 1000, null).get(0, 0);
 	}
 
 	@Override
 	public double prod() {
 		AggregateUnaryOperator op = InstructionUtils.parseBasicAggregateUnaryOperator("ua*", 1);
-		return aggregateUnaryOperations(op, null, 1000, null).getValue(0, 0);
+		return aggregateUnaryOperations(op, null, 1000, null).get(0, 0);
 	}
 
 	@Override
 	public double mean() {
 		AggregateUnaryOperator op = InstructionUtils.parseBasicAggregateUnaryOperator("uamean", 1);
-		return aggregateUnaryOperations(op, null, 1000, null).getValue(0, 0);
+		return aggregateUnaryOperations(op, null, 1000, null).get(0, 0);
 	}
 
 	@Override
@@ -1077,20 +1077,10 @@ public class CompressedMatrixBlock extends MatrixBlock {
 	}
 
 	@Override
-	public void quickSetValue(int r, int c, double v) {
+	public void set(int r, int c, double v) {
 		throw new DMLCompressionException("Should not set a value on a compressed Matrix");
 	}
 
-	@Override
-	public double quickGetValueThreadSafe(int r, int c) {
-		throw new DMLCompressionException("Thread safe execution does not work on Compressed Matrix");
-	}
-
-	@Override
-	public double getValueDenseUnsafe(int r, int c) {
-		throw new DMLCompressionException("Compressed Matrix does not have a dense matrix block");
-	}
-
 	@Override
 	public void appendValue(int r, int c, double v) {
 		throw new DMLCompressionException("Cant append value to compressed Matrix");
diff --git a/src/main/java/org/apache/sysds/runtime/compress/bitmap/BitmapEncoder.java b/src/main/java/org/apache/sysds/runtime/compress/bitmap/BitmapEncoder.java
index 96bfe7a2fb..70fd4da263 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/bitmap/BitmapEncoder.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/bitmap/BitmapEncoder.java
@@ -124,7 +124,7 @@ public class BitmapEncoder {
 			// This case is slow, because it does a binary search in each row of the sparse input. (if sparse)
 			// and does get value in dense cases with multi blocks.
 			for(int i = 0; i < nRows; i++)
-				distinctVals.appendValue(rawBlock.quickGetValue(i, colIndex), i);
+				distinctVals.appendValue(rawBlock.get(i, colIndex), i);
 		}
 		return distinctVals;
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupLinearFunctional.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupLinearFunctional.java
index 708d3512f5..c4b4f7a419 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupLinearFunctional.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupLinearFunctional.java
@@ -380,12 +380,12 @@ public class ColGroupLinearFunctional extends AColGroupCompressed {
 			double slope_accum = 0.0;
 
 			for(int c = 0; c < _colIndexes.size(); c++) {
-				bias_accum += right.getValue(_colIndexes.get(c), j) * getInterceptForColumn(c);
-				slope_accum += right.getValue(_colIndexes.get(c), j) * getSlopeForColumn(c);
+				bias_accum += right.get(_colIndexes.get(c), j) * getInterceptForColumn(c);
+				slope_accum += right.get(_colIndexes.get(c), j) * getSlopeForColumn(c);
 			}
 
 			for(int r = 0; r < _numRows; r++) {
-				result.setValue(r, j, bias_accum + (r + 1) * slope_accum);
+				result.set(r, j, bias_accum + (r + 1) * slope_accum);
 			}
 		}
 
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupUncompressed.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupUncompressed.java
index d5553deb41..625fbe1ab2 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupUncompressed.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/ColGroupUncompressed.java
@@ -141,11 +141,11 @@ public class ColGroupUncompressed extends AColGroup {
 		if(transposed)
 			for(int i = 0; i < m; i++)
 				for(int j = 0; j < n; j++)
-					mb.appendValue(i, j, rawBlock.quickGetValue(colIndexes.get(j), i));
+					mb.appendValue(i, j, rawBlock.get(colIndexes.get(j), i));
 		else
 			for(int i = 0; i < m; i++)
 				for(int j = 0; j < n; j++)
-					mb.appendValue(i, j, rawBlock.quickGetValue(i, colIndexes.get(j)));
+					mb.appendValue(i, j, rawBlock.get(i, colIndexes.get(j)));
 
 		mb.recomputeNonZeros();
 		mb.examSparsity();
@@ -275,7 +275,7 @@ public class ColGroupUncompressed extends AColGroup {
 
 	@Override
 	public double getIdx(int r, int colIdx) {
-		return _data.quickGetValue(r, colIdx);
+		return _data.get(r, colIdx);
 	}
 
 	@Override
@@ -903,7 +903,7 @@ public class ColGroupUncompressed extends AColGroup {
 		// TODO add sparse optmization
 		for(int r = 0; r < _data.getNumRows(); r++)
 			for(int c = 0; c < _data.getNumColumns(); c++)
-				ret.quickSetValue(r, c, _data.quickGetValue(r, reordering[c]));
+				ret.set(r, c, _data.get(r, reordering[c]));
 		return create(newColIndex, ret, false);
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/DictionaryFactory.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/DictionaryFactory.java
index a75ca3f865..3456cbd593 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/DictionaryFactory.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/DictionaryFactory.java
@@ -373,10 +373,10 @@ public interface DictionaryFactory {
 				int ia = r % ra;
 				int ib = r / ra;
 				for(int c = 0; c < nca; c++)
-					out.quickSetValue(o, c, ma.quickGetValue(ia, c));
+					out.set(o, c, ma.get(ia, c));
 
 				for(int c = 0; c < ncb; c++)
-					out.quickSetValue(o, c + nca, mb.quickGetValue(ib, c));
+					out.set(o, c + nca, mb.get(ib, c));
 
 			}
 		}
@@ -386,10 +386,10 @@ public interface DictionaryFactory {
 				int ia = r % ra;
 				int ib = r / ra;
 				for(int c = 0; c < nca; c++)
-					out.quickSetValue(r, c, ma.quickGetValue(ia, c));
+					out.set(r, c, ma.get(ia, c));
 
 				for(int c = 0; c < ncb; c++)
-					out.quickSetValue(r, c + nca, mb.quickGetValue(ib, c));
+					out.set(r, c + nca, mb.get(ib, c));
 
 			}
 		}
@@ -412,19 +412,19 @@ public interface DictionaryFactory {
 		for(int r = 0; r < ra; r++) {
 
 			for(int c = 0; c < nca; c++)
-				out.quickSetValue(r, c, ma.quickGetValue(r, c));
+				out.set(r, c, ma.get(r, c));
 			for(int c = 0; c < ncb; c++)
-				out.quickSetValue(r, c + nca, tub[c]);
+				out.set(r, c + nca, tub[c]);
 		}
 
 		for(int r = ra; r < out.getNumRows(); r++) {
 			int ia = r % ra;
 			int ib = r / ra - 1;
 			for(int c = 0; c < nca; c++) // all good.
-				out.quickSetValue(r, c, ma.quickGetValue(ia, c));
+				out.set(r, c, ma.get(ia, c));
 
 			for(int c = 0; c < ncb; c++)
-				out.quickSetValue(r, c + nca, mb.quickGetValue(ib, c));
+				out.set(r, c + nca, mb.get(ib, c));
 
 		}
 		return new MatrixBlockDictionary(out);
@@ -450,9 +450,9 @@ public interface DictionaryFactory {
 
 				int o = filter.get(r);
 				for(int c = 0; c < nca; c++)
-					out.quickSetValue(o, c, ma.quickGetValue(r, c));
+					out.set(o, c, ma.get(r, c));
 				for(int c = 0; c < ncb; c++)
-					out.quickSetValue(o, c + nca, tub[c]);
+					out.set(o, c + nca, tub[c]);
 			}
 
 		}
@@ -464,10 +464,10 @@ public interface DictionaryFactory {
 				int ia = r % ra;
 				int ib = r / ra - 1;
 				for(int c = 0; c < nca; c++) // all good.
-					out.quickSetValue(o, c, ma.quickGetValue(ia, c));
+					out.set(o, c, ma.get(ia, c));
 
 				for(int c = 0; c < ncb; c++)
-					out.quickSetValue(o, c + nca, mb.quickGetValue(ib, c));
+					out.set(o, c + nca, mb.get(ib, c));
 
 			}
 		}
@@ -490,17 +490,17 @@ public interface DictionaryFactory {
 		// 0 row both default tuples
 
 		for(int c = 0; c < nca; c++)
-			out.quickSetValue(0, c, tua[c]);
+			out.set(0, c, tua[c]);
 
 		for(int c = 0; c < ncb; c++)
-			out.quickSetValue(0, c + nca, tub[c]);
+			out.set(0, c + nca, tub[c]);
 
 		// default case for b and all cases for a.
 		for(int r = 1; r < ra + 1; r++) {
 			for(int c = 0; c < nca; c++)
-				out.quickSetValue(r, c, ma.quickGetValue(r - 1, c));
+				out.set(r, c, ma.get(r - 1, c));
 			for(int c = 0; c < ncb; c++)
-				out.quickSetValue(r, c + nca, tub[c]);
+				out.set(r, c + nca, tub[c]);
 		}
 
 		for(int r = ra + 1; r < out.getNumRows(); r++) {
@@ -509,13 +509,13 @@ public interface DictionaryFactory {
 
 			if(ia == -1)
 				for(int c = 0; c < nca; c++)
-					out.quickSetValue(r, c, tua[c]);
+					out.set(r, c, tua[c]);
 			else
 				for(int c = 0; c < nca; c++)
-					out.quickSetValue(r, c, ma.quickGetValue(ia, c));
+					out.set(r, c, ma.get(ia, c));
 
 			for(int c = 0; c < ncb; c++) // all good here.
-				out.quickSetValue(r, c + nca, mb.quickGetValue(ib, c));
+				out.set(r, c + nca, mb.get(ib, c));
 
 		}
 
@@ -542,10 +542,10 @@ public interface DictionaryFactory {
 		if(filter.containsKey(0)) {
 			int o = filter.get(0);
 			for(int c = 0; c < nca; c++)
-				out.quickSetValue(o, c, tua[c]);
+				out.set(o, c, tua[c]);
 
 			for(int c = 0; c < ncb; c++)
-				out.quickSetValue(o, c + nca, tub[c]);
+				out.set(o, c + nca, tub[c]);
 		}
 
 		// default case for b and all cases for a.
@@ -553,9 +553,9 @@ public interface DictionaryFactory {
 			if(filter.containsKey(r)) {
 				int o = filter.get(r);
 				for(int c = 0; c < nca; c++)
-					out.quickSetValue(o, c, ma.quickGetValue(r - 1, c));
+					out.set(o, c, ma.get(r - 1, c));
 				for(int c = 0; c < ncb; c++)
-					out.quickSetValue(o, c + nca, tub[c]);
+					out.set(o, c + nca, tub[c]);
 			}
 		}
 
@@ -569,13 +569,13 @@ public interface DictionaryFactory {
 
 				if(ia == -1)
 					for(int c = 0; c < nca; c++)
-						out.quickSetValue(o, c, tua[c]);
+						out.set(o, c, tua[c]);
 				else
 					for(int c = 0; c < nca; c++)
-						out.quickSetValue(o, c, ma.quickGetValue(ia, c));
+						out.set(o, c, ma.get(ia, c));
 
 				for(int c = 0; c < ncb; c++) // all good here.
-					out.quickSetValue(o, c + nca, mb.quickGetValue(ib, c));
+					out.set(o, c + nca, mb.get(ib, c));
 			}
 		}
 
@@ -596,9 +596,9 @@ public interface DictionaryFactory {
 		// default case for b and all cases for a.
 		for(int r = 0; r < ra; r++) {
 			for(int c = 0; c < nca; c++)
-				out.quickSetValue(r, c, ma.quickGetValue(r, c));
+				out.set(r, c, ma.get(r, c));
 			for(int c = 0; c < ncb; c++)
-				out.quickSetValue(r, c + nca, tub[c]);
+				out.set(r, c + nca, tub[c]);
 		}
 
 		return new MatrixBlockDictionary(out);
@@ -623,9 +623,9 @@ public interface DictionaryFactory {
 		// // default case for b and all cases for a.
 		// for(int r = 0; r < ra; r++) {
 		// for(int c = 0; c < nca; c++)
-		// out.quickSetValue(r, c, ma.quickGetValue(r, c));
+		// out.set(r, c, ma.get(r, c));
 		// for(int c = 0; c < ncb; c++)
-		// out.quickSetValue(r, c + nca, tub[c]);
+		// out.set(r, c + nca, tub[c]);
 		// }
 
 		// return new MatrixBlockDictionary(out);
@@ -645,9 +645,9 @@ public interface DictionaryFactory {
 		// default case for b and all cases for a.
 		for(int r = 0; r < rb; r++) {
 			for(int c = 0; c < nca; c++)
-				out.quickSetValue(r, c, tua[c]);
+				out.set(r, c, tua[c]);
 			for(int c = 0; c < ncb; c++)
-				out.quickSetValue(r, c + nca, mb.quickGetValue(r, c));
+				out.set(r, c + nca, mb.get(r, c));
 		}
 
 		return new MatrixBlockDictionary(out);
@@ -672,9 +672,9 @@ public interface DictionaryFactory {
 		// // default case for b and all cases for a.
 		// for(int r = 0; r < rb; r++) {
 		// for(int c = 0; c < nca; c++)
-		// out.quickSetValue(r, c, tua[c]);
+		// out.set(r, c, tua[c]);
 		// for(int c = 0; c < ncb; c++)
-		// out.quickSetValue(r, c + nca, mb.quickGetValue(r, c));
+		// out.set(r, c + nca, mb.get(r, c));
 		// }
 
 		// return new MatrixBlockDictionary(out);
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/IdentityDictionarySlice.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/IdentityDictionarySlice.java
index 167328871b..343267f5af 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/IdentityDictionarySlice.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/IdentityDictionarySlice.java
@@ -221,7 +221,7 @@ public class IdentityDictionarySlice extends IdentityDictionary {
 	private MatrixBlockDictionary createMBDict() {
 		MatrixBlock identity = new MatrixBlock(nRowCol, u - l, true);
 		for(int i = l; i < u; i++)
-			identity.quickSetValue(i, i - l, 1.0);
+			identity.set(i, i - l, 1.0);
 		return new MatrixBlockDictionary(identity);
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/MatrixBlockDictionary.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/MatrixBlockDictionary.java
index 2a800837c7..5bc5f0605e 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/MatrixBlockDictionary.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/MatrixBlockDictionary.java
@@ -132,12 +132,12 @@ public class MatrixBlockDictionary extends ADictionary {
 		if(row > _data.getNumRows())
 			return 0;
 		final int col = i % nCol;
-		return _data.quickGetValue(row, col);
+		return _data.get(row, col);
 	}
 
 	@Override
 	public final double getValue(int r, int c, int nCol) {
-		return _data.quickGetValue(r, c);
+		return _data.get(r, c);
 	}
 
 	@Override
@@ -2186,7 +2186,7 @@ public class MatrixBlockDictionary extends ADictionary {
 		// TODO add sparse exploitation.
 		for(int r = 0; r < _data.getNumRows(); r++)
 			for(int c = 0; c < _data.getNumColumns(); c++)
-				ret.quickSetValue(r, c, _data.quickGetValue(r, reorder[c]));
+				ret.set(r, c, _data.get(r, reorder[c]));
 
 		return create(ret, false);
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/functional/LinearRegression.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/functional/LinearRegression.java
index b49dc32465..213f640ea4 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/functional/LinearRegression.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/functional/LinearRegression.java
@@ -48,14 +48,14 @@ public interface LinearRegression {
 		if(nCol == 1) {
 			if(transposed) {
 				for(int rowIdx = 0; rowIdx < nRows; rowIdx++) {
-					double value = rawBlock.getValue(colIndexes.get(0), rowIdx);
+					double value = rawBlock.get(colIndexes.get(0), rowIdx);
 					colSums[0] += value;
 					weightedColSums[0] += (rowIdx + 1) * value;
 				}
 			}
 			else {
 				for(int rowIdx = 0; rowIdx < nRows; rowIdx++) {
-					double value = rawBlock.getValue(rowIdx, colIndexes.get(0));
+					double value = rawBlock.get(rowIdx, colIndexes.get(0));
 					colSums[0] += value;
 					weightedColSums[0] += (rowIdx + 1) * value;
 				}
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/ConstScheme.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/ConstScheme.java
index 516b39579e..ac7fb97b9a 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/ConstScheme.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/ConstScheme.java
@@ -53,7 +53,7 @@ public class ConstScheme extends ACLAScheme {
 		final int nColScheme = vals.length;
 		for(int r = 0; r < nRow; r++)
 			for(int c = 0; c < nColScheme; c++) {
-				final double v = data.quickGetValue(r, cols.get(c));
+				final double v = data.get(r, cols.get(c));
 				if(!Util.eq(v, vals[c]))
 					return updateToDDC(data, columns);
 			}
@@ -87,7 +87,7 @@ public class ConstScheme extends ACLAScheme {
 			final int row = cols.get(r);
 			final double def = vals[r];
 			for(int c = 0; c < nCol; c++) {
-				final double v = data.quickGetValue(row, c);
+				final double v = data.get(row, c);
 				if(!Util.eq(v, def))
 					return updateToDDCT(data, columns);
 			}
diff --git a/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/EmptyScheme.java b/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/EmptyScheme.java
index b24390193f..23051c13a4 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/EmptyScheme.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/colgroup/scheme/EmptyScheme.java
@@ -54,7 +54,7 @@ public class EmptyScheme extends ACLAScheme {
 		// should be optimized.
 		for(int r = 0; r < nRow; r++) {
 			for(int c = 0; c < nColScheme; c++) {
-				double v = data.quickGetValue(r, columns.get(c));
+				double v = data.get(r, columns.get(c));
 				if(v != 0)
 					return updateToHigherScheme(data, columns);
 			}
@@ -123,7 +123,7 @@ public class EmptyScheme extends ACLAScheme {
 		// try with const
 		double[] vals = new double[cols.size()];
 		for(int c = 0; c < cols.size(); c++)
-			vals[c] = data.quickGetValue(0, c);
+			vals[c] = data.get(0, c);
 
 		return ConstScheme.create(columns, vals).update(data, columns);
 	}
@@ -132,7 +132,7 @@ public class EmptyScheme extends ACLAScheme {
 		// try with const
 		double[] vals = new double[cols.size()];
 		for(int c = 0; c < cols.size(); c++)
-			vals[c] = data.quickGetValue(c, 0);
+			vals[c] = data.get(c, 0);
 
 		return ConstScheme.create(columns, vals).updateT(data, columns);
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibAggTernaryOp.java b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibAggTernaryOp.java
index 5d38c25ece..62f6765530 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibAggTernaryOp.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibAggTernaryOp.java
@@ -81,7 +81,7 @@ public final class CLALibAggTernaryOp {
 
 			// if any is constant.
 			if(isConst(m1)) {
-				double v = m1.quickGetValue(0, 0);
+				double v = m1.get(0, 0);
 				if(v == 1.0)
 					return new CLALibAggTernaryOp(m2, m3, null, ret, op, inCP).exec();
 			}
diff --git a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibBinaryCellOp.java b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibBinaryCellOp.java
index 65f7503428..f9f83304b3 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibBinaryCellOp.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibBinaryCellOp.java
@@ -71,7 +71,7 @@ public final class CLALibBinaryCellOp {
 		MatrixBlock result) {
 
 		if(that.getNumRows() == 1 && that.getNumColumns() == 1) {
-			ScalarOperator sop = new RightScalarOperator(op.fn, that.getValue(0, 0), op.getNumThreads());
+			ScalarOperator sop = new RightScalarOperator(op.fn, that.get(0, 0), op.getNumThreads());
 			return CLALibScalar.scalarOperations(sop, m1, result);
 		}
 		else if(that.isEmpty())
@@ -98,7 +98,7 @@ public final class CLALibBinaryCellOp {
 	public static MatrixBlock binaryOperationsLeft(BinaryOperator op, CompressedMatrixBlock m1, MatrixBlock that,
 		MatrixBlock result) {
 		if(that.getNumRows() == 1 && that.getNumColumns() == 1) {
-			ScalarOperator sop = new LeftScalarOperator(op.fn, that.getValue(0, 0), op.getNumThreads());
+			ScalarOperator sop = new LeftScalarOperator(op.fn, that.get(0, 0), op.getNumThreads());
 			return CLALibScalar.scalarOperations(sop, m1, result);
 		}
 		if(that.isEmpty())
diff --git a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibCompAgg.java b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibCompAgg.java
index ad9458764e..54c9824b50 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibCompAgg.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibCompAgg.java
@@ -170,25 +170,25 @@ public final class CLALibCompAgg {
 				MatrixBlock resWithCorrection = new MatrixBlock(ret.getNumRows(), ret.getNumColumns() + 1, false);
 				resWithCorrection.allocateDenseBlock();
 				for(int i = 0; i < ret.getNumRows(); i++)
-					resWithCorrection.setValue(i, 0, ret.quickGetValue(i, 0));
+					resWithCorrection.set(i, 0, ret.get(i, 0));
 				return resWithCorrection;
 			case LASTROW:
 				resWithCorrection = new MatrixBlock(ret.getNumRows() + 1, ret.getNumColumns(), false);
 				resWithCorrection.allocateDenseBlock();
 				for(int i = 0; i < ret.getNumColumns(); i++)
-					resWithCorrection.setValue(0, i, ret.quickGetValue(0, i));
+					resWithCorrection.set(0, i, ret.get(0, i));
 				return resWithCorrection;
 			case LASTTWOCOLUMNS:
 				resWithCorrection = new MatrixBlock(ret.getNumRows(), ret.getNumColumns() + 2, false);
 				resWithCorrection.allocateDenseBlock();
 				for(int i = 0; i < ret.getNumRows(); i++)
-					resWithCorrection.setValue(i, 0, ret.quickGetValue(i, 0));
+					resWithCorrection.set(i, 0, ret.get(i, 0));
 				return resWithCorrection;
 			case LASTTWOROWS:
 				resWithCorrection = new MatrixBlock(ret.getNumRows() + 2, ret.getNumColumns(), false);
 				resWithCorrection.allocateDenseBlock();
 				for(int i = 0; i < ret.getNumColumns(); i++)
-					resWithCorrection.setValue(0, i, ret.quickGetValue(0, i));
+					resWithCorrection.set(0, i, ret.get(0, i));
 				return resWithCorrection;
 			case NONE:
 				return ret;
@@ -203,13 +203,13 @@ public final class CLALibCompAgg {
 
 	private static MatrixBlock addCellCount(MatrixBlock ret, AggregateUnaryOperator op, int nRow, int nCol) {
 		if(op.indexFn instanceof ReduceAll)
-			ret.setValue(0, 1, (long) nRow * (long) nCol);
+			ret.set(0, 1, (long) nRow * (long) nCol);
 		else if(op.indexFn instanceof ReduceCol)
 			for(int i = 0; i < nRow; i++)
-				ret.setValue(i, 1, nCol);
+				ret.set(i, 1, nCol);
 		else // Reduce Row
 			for(int i = 0; i < nCol; i++)
-				ret.setValue(1, i, nRow);
+				ret.set(1, i, nRow);
 		return ret;
 	}
 
@@ -297,38 +297,38 @@ public final class CLALibCompAgg {
 
 	private static void sumResults(MatrixBlock ret, List<Future<MatrixBlock>> futures)
 		throws InterruptedException, ExecutionException {
-		double val = ret.quickGetValue(0, 0);
+		double val = ret.get(0, 0);
 		for(Future<MatrixBlock> rtask : futures) {
-			double tmp = rtask.get().quickGetValue(0, 0);
+			double tmp = rtask.get().get(0, 0);
 			val += tmp;
 		}
-		ret.quickSetValue(0, 0, val);
+		ret.set(0, 0, val);
 
 	}
 
 	private static void productResults(MatrixBlock ret, List<Future<MatrixBlock>> futures)
 		throws InterruptedException, ExecutionException {
-		double val = ret.quickGetValue(0, 0);
+		double val = ret.get(0, 0);
 		for(Future<MatrixBlock> rtask : futures) {
-			double tmp = rtask.get().quickGetValue(0, 0);
+			double tmp = rtask.get().get(0, 0);
 			if(tmp == 0) {
-				ret.quickSetValue(0, 0, 0);
+				ret.set(0, 0, 0);
 				return;
 			}
 			val *= tmp;
 		}
-		ret.quickSetValue(0, 0, val);
+		ret.set(0, 0, val);
 
 	}
 
 	private static void aggregateResults(MatrixBlock ret, List<Future<MatrixBlock>> futures, AggregateUnaryOperator op)
 		throws InterruptedException, ExecutionException {
-		double val = ret.quickGetValue(0, 0);
+		double val = ret.get(0, 0);
 		for(Future<MatrixBlock> rtask : futures) {
-			double tmp = rtask.get().quickGetValue(0, 0);
+			double tmp = rtask.get().get(0, 0);
 			val = op.aggOp.increOp.fn.execute(val, tmp);
 		}
-		ret.quickSetValue(0, 0, val);
+		ret.set(0, 0, val);
 	}
 
 	private static void divideByNumberOfCellsForMean(CompressedMatrixBlock m1, MatrixBlock ret, IndexFunction idxFn) {
@@ -365,7 +365,7 @@ public final class CLALibCompAgg {
 	}
 
 	private static void divideByNumberOfCellsForMeanAll(CompressedMatrixBlock m1, MatrixBlock ret) {
-		ret.quickSetValue(0, 0, ret.quickGetValue(0, 0) / ((long) m1.getNumColumns() * (long) m1.getNumRows()));
+		ret.set(0, 0, ret.get(0, 0) / ((long) m1.getNumColumns() * (long) m1.getNumRows()));
 	}
 
 	private static void aggOverlapping(CompressedMatrixBlock m1, MatrixBlock ret, AggregateUnaryOperator op,
@@ -507,7 +507,7 @@ public final class CLALibCompAgg {
 			long nc = (long) in.getNumRows() * in.getNumColumns();
 			boolean containsZero = nnz != nc;
 			if(op.indexFn instanceof ReduceAll)
-				ret.setValue(0, 0, containsZero ? 0 : 1);
+				ret.set(0, 0, containsZero ? 0 : 1);
 			else
 				throw new NotImplementedException();
 		}
diff --git a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibSlice.java b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibSlice.java
index d493ae4e9b..35b68b9d8f 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibSlice.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibSlice.java
@@ -169,7 +169,7 @@ public final class CLALibSlice {
 	private static MatrixBlock sliceSingle(CompressedMatrixBlock cmb, int row, int col) {
 		// get a single index, and return in a matrixBlock
 		MatrixBlock tmp = new MatrixBlock(1, 1, 0);
-		tmp.setValue(0, 0, cmb.getValue(row, col));
+		tmp.set(0, 0, cmb.get(row, col));
 		return tmp;
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibTernaryOp.java b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibTernaryOp.java
index ac1ddd814a..d5d269b921 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibTernaryOp.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/lib/CLALibTernaryOp.java
@@ -46,9 +46,9 @@ public final class CLALibTernaryOp {
 		final boolean s1 = (r1 == 1 && c1 == 1);
 		final boolean s2 = (r2 == 1 && c2 == 1);
 		final boolean s3 = (r3 == 1 && c3 == 1);
-		final double d1 = s1 ? m1.quickGetValue(0, 0) : Double.NaN;
-		final double d2 = s2 ? m2.quickGetValue(0, 0) : Double.NaN;
-		final double d3 = s3 ? m3.quickGetValue(0, 0) : Double.NaN;
+		final double d1 = s1 ? m1.get(0, 0) : Double.NaN;
+		final double d2 = s2 ? m2.get(0, 0) : Double.NaN;
+		final double d3 = s3 ? m3.get(0, 0) : Double.NaN;
 		final int m = Math.max(Math.max(r1, r2), r3);
 		final int n = Math.max(Math.max(c1, c2), c3);
 
diff --git a/src/main/java/org/apache/sysds/runtime/compress/utils/Util.java b/src/main/java/org/apache/sysds/runtime/compress/utils/Util.java
index 024ed71a86..b7a6048c27 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/utils/Util.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/utils/Util.java
@@ -99,7 +99,7 @@ public interface Util {
 	public static MatrixBlock extractValues(double[] v, IColIndex colIndexes) {
 		MatrixBlock rowVector = new MatrixBlock(1, colIndexes.size(), false);
 		for(int i = 0; i < colIndexes.size(); i++)
-			rowVector.quickSetValue(0, i, v[colIndexes.get(i)]);
+			rowVector.set(0, i, v[colIndexes.get(i)]);
 		return rowVector;
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/federated/FederationUtils.java b/src/main/java/org/apache/sysds/runtime/controlprogram/federated/FederationUtils.java
index cf62e7a560..f6e96ba718 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/federated/FederationUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/federated/FederationUtils.java
@@ -263,10 +263,10 @@ public class FederationUtils {
 				for (int i = 0; i < ffr.length - 1; i++)
 					for (int j = 0; j < dim; j++)
 						if (fedType.get() == FType.COL)
-							tmp[i + 1].setValue(j, 0, isMin ? Double.min(tmp[i].getValue(j, 0), tmp[i + 1].getValue(j, 0)) :
-								Double.max(tmp[i].getValue(j, 0), tmp[i + 1].getValue(j, 0)));
-						else tmp[i + 1].setValue(0, j, isMin ? Double.min(tmp[i].getValue(0, j), tmp[i + 1].getValue(0, j)) :
-							Double.max(tmp[i].getValue(0, j), tmp[i + 1].getValue(0, j)));
+							tmp[i + 1].set(j, 0, isMin ? Double.min(tmp[i].get(j, 0), tmp[i + 1].get(j, 0)) :
+								Double.max(tmp[i].get(j, 0), tmp[i + 1].get(j, 0)));
+						else tmp[i + 1].set(0, j, isMin ? Double.min(tmp[i].get(0, j), tmp[i + 1].get(0, j)) :
+							Double.max(tmp[i].get(0, j), tmp[i + 1].get(0, j)));
 				return tmp[ffr.length-1];
 			}
 		}
@@ -312,11 +312,11 @@ public class FederationUtils {
 				MatrixBlock next = (MatrixBlock) ffr[i].get().getData()[0];
 				size = map.getFederatedRanges()[i-1].getEndDimsInt()[1];
 				for(int j = 0; j < prev.getNumRows(); j++) {
-					next.setValue(j, 0, next.getValue(j, 0) + size);
-					if((prev.getValue(j, 1) > next.getValue(j, 1) && !isMin) ||
-						(prev.getValue(j, 1) < next.getValue(j, 1) && isMin)) {
-						next.setValue(j, 0, prev.getValue(j, 0));
-						next.setValue(j, 1, prev.getValue(j, 1));
+					next.set(j, 0, next.get(j, 0) + size);
+					if((prev.get(j, 1) > next.get(j, 1) && !isMin) ||
+						(prev.get(j, 1) < next.get(j, 1) && isMin)) {
+						next.set(j, 0, prev.get(j, 0));
+						next.set(j, 1, prev.get(j, 1));
 					}
 				}
 				prev = next;
@@ -392,10 +392,10 @@ public class FederationUtils {
 			if(aop.aggOp.increOp.fn instanceof Builtin){
 				// then we know it is a Min or Max based on the previous check.
 				boolean isMin = ((Builtin) aop.aggOp.increOp.fn).getBuiltinCode() == BuiltinCode.MIN;
-				return new DoubleObject(aggMinMax(ffr, isMin, true,  Optional.empty()).getValue(0,0));
+				return new DoubleObject(aggMinMax(ffr, isMin, true,  Optional.empty()).get(0,0));
 			}
 			else if( aop.aggOp.increOp.fn instanceof Mean ) {
-				return new DoubleObject(aggMean(ffr, map).getValue(0,0));
+				return new DoubleObject(aggMean(ffr, map).get(0,0));
 			}
 			else if(aop.aggOp.increOp.fn instanceof CM) {
 				long size1 = map.getFederatedRanges()[0].getSize();
@@ -485,19 +485,19 @@ public class FederationUtils {
 				MatrixBlock ret = new MatrixBlock(ffr.length, 1, false);
 				MatrixBlock res = new MatrixBlock(0);
 				for(int i = 0; i < ffr.length; i++)
-					ret.setValue(i, 0, ((ScalarObject)ffr[i].get().getData()[0]).getDoubleValue());
+					ret.set(i, 0, ((ScalarObject)ffr[i].get().getData()[0]).getDoubleValue());
 				LibMatrixAgg.aggregateUnaryMatrix(ret, res,
 					new AggregateUnaryOperator(new AggregateOperator(1, Multiply.getMultiplyFnObject()),
 						ReduceAll.getReduceAllFnObject()));
-				return new DoubleObject(res.quickGetValue(0, 0));
+				return new DoubleObject(res.get(0, 0));
 			}
 			else if(aop.aggOp.increOp.fn instanceof Builtin){
 				// then we know it is a Min or Max based on the previous check.
 				boolean isMin = ((Builtin) aop.aggOp.increOp.fn).getBuiltinCode() == BuiltinCode.MIN;
-				return new DoubleObject(aggMinMax(ffr, isMin, true,  Optional.empty()).getValue(0,0));
+				return new DoubleObject(aggMinMax(ffr, isMin, true,  Optional.empty()).get(0,0));
 			}
 			else if( aop.aggOp.increOp.fn instanceof Mean ) {
-				return new DoubleObject(aggMean(ffr, map).getValue(0,0));
+				return new DoubleObject(aggMean(ffr, map).get(0,0));
 			}
 			else { //if (aop.aggOp.increOp.fn instanceof KahanFunction)
 				double sum = 0; //uak+
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DRSparkScheme.java b/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DRSparkScheme.java
index 792e3eca43..e197a86020 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DRSparkScheme.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DRSparkScheme.java
@@ -55,13 +55,13 @@ public class DRSparkScheme extends DataPartitionSparkScheme {
 		// For each row, find out the shifted place
 		return IntStream.range(0, mb.getNumRows()).mapToObj(r -> {
 			MatrixBlock rowMB = ParamservUtils.sliceMatrixBlock(mb, r + 1, r + 1);
-			long shiftedPosition = (long) partialPerm.getValue(r, 0);
+			long shiftedPosition = (long) partialPerm.get(r, 0);
 
 			// Get the shifted block and position
 			int shiftedBlkID = (int) (shiftedPosition / OptimizerUtils.DEFAULT_BLOCKSIZE + 1);
 
 			MatrixBlock indicator = _workerIndicator.getBlock(shiftedBlkID, 1);
-			int workerID = (int) indicator.getValue((int) shiftedPosition / OptimizerUtils.DEFAULT_BLOCKSIZE, 0);
+			int workerID = (int) indicator.get((int) shiftedPosition / OptimizerUtils.DEFAULT_BLOCKSIZE, 0);
 			return new Tuple2<>(workerID, new Tuple2<>(shiftedPosition, rowMB));
 		}).collect(Collectors.toList());
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DataPartitionSparkScheme.java b/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DataPartitionSparkScheme.java
index 456222a614..dcf42e92d4 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DataPartitionSparkScheme.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DataPartitionSparkScheme.java
@@ -65,7 +65,7 @@ public abstract class DataPartitionSparkScheme implements Serializable {
 	protected List<Tuple2<Integer, Tuple2<Long, MatrixBlock>>> nonShuffledPartition(int rblkID, MatrixBlock mb) {
 		MatrixBlock indicator = _workerIndicator.getBlock(rblkID, 1);
 		return LongStream.range(0, mb.getNumRows()).mapToObj(r -> {
-			int workerID = (int) indicator.getValue((int) r, 0);
+			int workerID = (int) indicator.get((int) r, 0);
 			MatrixBlock rowMB = ParamservUtils.sliceMatrixBlock(mb, r + 1, r + 1);
 			long shiftedPosition = r + (rblkID - 1) * OptimizerUtils.DEFAULT_BLOCKSIZE;
 			return new Tuple2<>(workerID, new Tuple2<>(shiftedPosition, rowMB));
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/ORSparkScheme.java b/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/ORSparkScheme.java
index 640a61c1a3..5b356ccd50 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/ORSparkScheme.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/ORSparkScheme.java
@@ -52,7 +52,7 @@ public class ORSparkScheme extends DataPartitionSparkScheme {
 				MatrixBlock partialPerm = _globalPerms.get(workerID).getBlock(rblkID, 1);
 				return IntStream.range(0, mb.getNumRows()).mapToObj(r -> {
 					MatrixBlock rowMB = ParamservUtils.sliceMatrixBlock(mb, r + 1, r + 1);
-					long shiftedPosition = (long) partialPerm.getValue(r, 0);
+					long shiftedPosition = (long) partialPerm.get(r, 0);
 					return new Tuple2<>(workerID, new Tuple2<>(shiftedPosition, rowMB));
 				});
 			}).collect(Collectors.toList());
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/RemoteDPParForSparkWorker.java b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/RemoteDPParForSparkWorker.java
index 3526a7c593..50cc7b1b43 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/RemoteDPParForSparkWorker.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/RemoteDPParForSparkWorker.java
@@ -258,7 +258,7 @@ public class RemoteDPParForSparkWorker extends ParWorker implements PairFlatMapF
 					PairWritableCell pairValue = (PairWritableCell)valueList.iterator().next();
 					if( pairValue.indexes.getColumnIndex()<0 )
 						continue; //cells used to ensure empty partitions
-					partition.quickSetValue(0, (int)pairValue.indexes.getColumnIndex()-1, pairValue.cell.getValue());
+					partition.set(0, (int)pairValue.indexes.getColumnIndex()-1, pairValue.cell.getValue());
 				}
 				break;
 			case COLUMN_WISE:
@@ -270,7 +270,7 @@ public class RemoteDPParForSparkWorker extends ParWorker implements PairFlatMapF
 					if( _tSparseCol )
 						partition.appendValue(0,(int)pairValue.indexes.getRowIndex()-1, pairValue.cell.getValue());
 					else
-						partition.quickSetValue((int)pairValue.indexes.getRowIndex()-1, 0, pairValue.cell.getValue());
+						partition.set((int)pairValue.indexes.getRowIndex()-1, 0, pairValue.cell.getValue());
 				}
 				break;
 			default: 
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeLocalFile.java b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeLocalFile.java
index 1799258e48..b2340426e6 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeLocalFile.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeLocalFile.java
@@ -657,10 +657,11 @@ public class ResultMergeLocalFile extends ResultMergeMatrix
 							}
 						}
 						else {
+							DenseBlock d = mb.getDenseBlock();
 							for( int i=0; i<blen; i++ )
 								for( int j=0; j<blen; j++ )
 								{
-									double lvalue = mb.getValueDenseUnsafe(i, j);
+									double lvalue = d.get(i, j);
 									if( lvalue != 0 ) //for nnz
 									{
 										sb.append(row_offset+i);
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeMatrix.java b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeMatrix.java
index d90b9e177b..9efe624231 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeMatrix.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/ResultMergeMatrix.java
@@ -116,7 +116,7 @@ public abstract class ResultMergeMatrix extends ResultMerge<MatrixObject> {
 		for(int j = 0; j < n; j++) {
 			final double valOld = compare.get(i, j);
 			if(!Util.eq(0.0, valOld)) // NaN awareness
-				out.quickSetValue(i, j, 0);
+				out.set(i, j, 0);
 		}
 	}
 
@@ -139,8 +139,8 @@ public abstract class ResultMergeMatrix extends ResultMerge<MatrixObject> {
 			final double valOld = compare.get(i, aix[apos]);
 			final double valNew = aval[apos];
 			if(!Util.eq(valNew, valOld)) { // NaN awareness
-				double value = out.quickGetValue(i, aix[apos]) + (valNew - valOld);
-				out.quickSetValue(i, aix[apos], value);
+				double value = out.get(i, aix[apos]) + (valNew - valOld);
+				out.set(i, aix[apos], value);
 			}
 		}
 	}
@@ -168,8 +168,8 @@ public abstract class ResultMergeMatrix extends ResultMerge<MatrixObject> {
 			final double valOld = compare.get(i, j);
 			final double valNew = aix[apos] == j ? aval[apos] : 0.0;
 			if(!Util.eq(valNew, valOld)) { // NaN awareness
-				double value = !_isAccum ? valNew : (out.quickGetValue(i, j) + (valNew - valOld));
-				out.quickSetValue(i, j, value);
+				double value = !_isAccum ? valNew : (out.get(i, j) + (valNew - valOld));
+				out.set(i, j, value);
 			}
 			if(aposValid)
 				apos++;
@@ -177,8 +177,8 @@ public abstract class ResultMergeMatrix extends ResultMerge<MatrixObject> {
 		for(; j < n; j++) {
 			final double valOld = compare.get(i, j);
 			if(valOld != 0) {
-				double value = (out.quickGetValue(i, j) - valOld);
-				out.quickSetValue(i, j, value);
+				double value = (out.get(i, j) - valOld);
+				out.set(i, j, value);
 			}
 		}
 
@@ -188,10 +188,10 @@ public abstract class ResultMergeMatrix extends ResultMerge<MatrixObject> {
 		for(int i = 0; i < m; i++) {
 			for(int j = 0; j < n; j++) {
 				final double valOld = compare.get(i, j);
-				final double valNew = in.quickGetValue(i, j); // input value
+				final double valNew = in.get(i, j); // input value
 				if(!Util.eq(valNew, valOld)) { // NaN awareness
-					double value = !_isAccum ? valNew : (out.quickGetValue(i, j) + (valNew - valOld));
-					out.quickSetValue(i, j, value);
+					double value = !_isAccum ? valNew : (out.get(i, j) + (valNew - valOld));
+					out.set(i, j, value);
 				}
 			}
 		}
diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/util/StagingFileUtils.java b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/util/StagingFileUtils.java
index 94b6d872e1..abd02322d2 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/util/StagingFileUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/parfor/util/StagingFileUtils.java
@@ -180,7 +180,7 @@ public class StagingFileUtils
 					int row = st.nextInt();
 					int col = st.nextInt();
 					double lvalue = st.nextDouble();
-					tmp.quickSetValue(row, col, lvalue);
+					tmp.set(row, col, lvalue);
 				}
 			}
 			else {
diff --git a/src/main/java/org/apache/sysds/runtime/frame/data/FrameBlock.java b/src/main/java/org/apache/sysds/runtime/frame/data/FrameBlock.java
index 312f88ca7d..e1f2625cb0 100644
--- a/src/main/java/org/apache/sysds/runtime/frame/data/FrameBlock.java
+++ b/src/main/java/org/apache/sysds/runtime/frame/data/FrameBlock.java
@@ -1438,9 +1438,9 @@ public class FrameBlock implements CacheBlock<FrameBlock>, Externalizable {
 
 		FrameBlock outBlock = new FrameBlock(this);
 		for(int i = 0; i < this.getNumColumns(); i++) {
-			if(feaLen.quickGetValue(0, i) == -1)
+			if(feaLen.get(0, i) == -1)
 				continue;
-			int validLength = (int) feaLen.quickGetValue(0, i);
+			int validLength = (int) feaLen.get(0, i);
 			Array obj = this.getColumn(i);
 			for(int j = 0; j < obj.size(); j++) {
 				if(obj.get(j) == null)
diff --git a/src/main/java/org/apache/sysds/runtime/frame/data/lib/FrameFromMatrixBlock.java b/src/main/java/org/apache/sysds/runtime/frame/data/lib/FrameFromMatrixBlock.java
index ef0b71e984..5fd60d9586 100644
--- a/src/main/java/org/apache/sysds/runtime/frame/data/lib/FrameFromMatrixBlock.java
+++ b/src/main/java/org/apache/sysds/runtime/frame/data/lib/FrameFromMatrixBlock.java
@@ -95,7 +95,7 @@ public class FrameFromMatrixBlock {
 					case FP64:
 						break;
 					default:
-						final double v =  mb.quickGetValue(r, c);
+						final double v =  mb.get(r, c);
 						if(v > Integer.MAX_VALUE)
 							schema[c] = ValueType.FP64; // handle Integer overflow.
 						schema[c] = FrameUtil.isType(v, schema[c]);
diff --git a/src/main/java/org/apache/sysds/runtime/functionobjects/CTable.java b/src/main/java/org/apache/sysds/runtime/functionobjects/CTable.java
index 3a9c989861..f9746f329f 100644
--- a/src/main/java/org/apache/sysds/runtime/functionobjects/CTable.java
+++ b/src/main/java/org/apache/sysds/runtime/functionobjects/CTable.java
@@ -110,8 +110,8 @@ public class CTable extends ValueFunction
 		}
 		
 		//add value
-		ctableResult.quickSetValue((int)row-1, (int)col-1,
-				ctableResult.quickGetValue((int)row-1, (int)col-1) + w);
+		ctableResult.set((int)row-1, (int)col-1,
+			ctableResult.get((int)row-1, (int)col-1) + w);
 	}
 
 	public int execute(int row, double v2, double w, int maxCol, int[] retIx, double[] retVals) 
@@ -239,9 +239,9 @@ public class CTable extends ValueFunction
 			int endInd = UtilFunctions.getEndIndex(_in1.getNumRows(), _startInd, _blockSize);
 			for( int i=_startInd; i<endInd; i++ )
 			{
-				double v1 = _in1.quickGetValue(i, 0);
-				double v2 = _in2.quickGetValue(i, 0);
-				double w = _w.quickGetValue(i, 0);
+				double v1 = _in1.get(i, 0);
+				double v2 = _in2.get(i, 0);
+				double w = _w.get(i, 0);
 				ctable.execute(v1, v2, w, false, ctmap);
 			}
 			synchronized(_partialCTmaps) {
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateTernaryCPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateTernaryCPInstruction.java
index e93ab5aea5..ba08f765d4 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateTernaryCPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateTernaryCPInstruction.java
@@ -77,7 +77,7 @@ public class AggregateTernaryCPInstruction extends ComputationCPInstruction {
 		if(!input3.isLiteral())
 			ec.releaseMatrixInput(input3.getName());
 		if(output.getDataType().isScalar())
-			ec.setScalarOutput(output.getName(), new DoubleObject(ret.quickGetValue(0, 0)));
+			ec.setScalarOutput(output.getName(), new DoubleObject(ret.get(0, 0)));
 		else
 			ec.setMatrixOutput(output.getName(), ret);
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateUnaryCPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateUnaryCPInstruction.java
index 1699c26cea..78bc7d132d 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateUnaryCPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/cp/AggregateUnaryCPInstruction.java
@@ -203,7 +203,7 @@ public class AggregateUnaryCPInstruction extends UnaryCPInstruction {
 				CountDistinctOperator op = (CountDistinctOperator) _optr;
 
 				if (op.getDirection().isRowCol()) {
-					long res = (long) LibMatrixCountDistinct.estimateDistinctValues(input, op).getValue(0, 0);
+					long res = (long) LibMatrixCountDistinct.estimateDistinctValues(input, op).get(0, 0);
 					ec.releaseMatrixInput(input1.getName());
 					ec.setScalarOutput(outputName, new IntObject(res));
 				} else {  // Row/Col
@@ -247,7 +247,7 @@ public class AggregateUnaryCPInstruction extends UnaryCPInstruction {
 
 					ec.releaseMatrixInput(input1.getName());
 					if (output.getDataType() == DataType.SCALAR) {
-						DoubleObject ret = new DoubleObject(resultBlock.getValue(0, 0));
+						DoubleObject ret = new DoubleObject(resultBlock.get(0, 0));
 						ec.setScalarOutput(outputName, ret);
 					} else {
 						// since the computed value is a scalar, allocate a "temp" output matrix
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/cp/MatrixBuiltinNaryCPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/cp/MatrixBuiltinNaryCPInstruction.java
index 8611ade3eb..d6a0ec53f5 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/cp/MatrixBuiltinNaryCPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/cp/MatrixBuiltinNaryCPInstruction.java
@@ -81,7 +81,7 @@ public class MatrixBuiltinNaryCPInstruction extends BuiltinNaryCPInstruction imp
 		}
 		else {
 			ec.setVariable(output.getName(), ScalarObjectFactory.createScalarObject(
-				output.getValueType(), ((MatrixBlock)outBlock).quickGetValue(0, 0)));
+				output.getValueType(), ((MatrixBlock)outBlock).get(0, 0)));
 		}
 	}
 	
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/cp/QuaternaryCPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/cp/QuaternaryCPInstruction.java
index 137038dd49..b880b776fe 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/cp/QuaternaryCPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/cp/QuaternaryCPInstruction.java
@@ -126,7 +126,7 @@ public class QuaternaryCPInstruction extends ComputationCPInstruction {
 				if (input4.getDataType() == DataType.MATRIX) {
 					ec.releaseMatrixInput(input4.getName());
 				}
-			ec.setVariable(output.getName(), new DoubleObject(out.quickGetValue(0, 0)));
+			ec.setVariable(output.getName(), new DoubleObject(out.get(0, 0)));
 		}
 		else { //wsigmoid / wdivmm / wumm
 			if( qop.wtype3 != null && qop.wtype3.hasFourInputs() )
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/cp/StringInitCPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/cp/StringInitCPInstruction.java
index 7d056de986..ccc56a09fb 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/cp/StringInitCPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/cp/StringInitCPInstruction.java
@@ -92,7 +92,7 @@ public class StringInitCPInstruction extends UnaryCPInstruction {
 			Double dval = Double.parseDouble(sval);
 			int rix = (int) (i / _clen);
 			int cix = (int) (i % _clen);
-			outBlk.quickSetValue(rix, cix, dval);
+			outBlk.set(rix, cix, dval);
 		}
 		
 		//examine right output representation
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/cp/UaggOuterChainCPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/cp/UaggOuterChainCPInstruction.java
index 5aacac28ab..a4bf681445 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/cp/UaggOuterChainCPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/cp/UaggOuterChainCPInstruction.java
@@ -94,7 +94,7 @@ public class UaggOuterChainCPInstruction extends UnaryCPInstruction {
 		
 		if(_uaggOp.indexFn instanceof ReduceAll ) { //RC AGG (output is scalar)
 			ec.setMatrixOutput(output.getName(),
-				new MatrixBlock(mbOut.quickGetValue(0, 0)));
+				new MatrixBlock(mbOut.get(0, 0)));
 		}
 		else { //R/C AGG (output is rdd)
 			mbOut.examSparsity();
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/cp/VariableCPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/cp/VariableCPInstruction.java
index e948d286b2..045f4e0f02 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/cp/VariableCPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/cp/VariableCPInstruction.java
@@ -867,7 +867,7 @@ public class VariableCPInstruction extends CPInstruction implements LineageTrace
 				MatrixBlock mBlock = ec.getMatrixInput(getInput1().getName());
 				if( mBlock.getNumRows()!=1 || mBlock.getNumColumns()!=1 )
 					throw new DMLRuntimeException("Dimension mismatch - unable to cast matrix '"+getInput1().getName()+"' of dimension ("+mBlock.getNumRows()+" x "+mBlock.getNumColumns()+") to scalar. " + mBlock);
-				double value = mBlock.getValue(0,0);
+				double value = mBlock.get(0,0);
 				ec.releaseMatrixInput(getInput1().getName());
 				ec.setScalarOutput(output.getName(), new DoubleObject(value));
 				break;
@@ -932,7 +932,7 @@ public class VariableCPInstruction extends CPInstruction implements LineageTrace
 						throw new DMLRuntimeException("as.matrix over multi-entry list only allows scalars.");
 					MatrixBlock out = new MatrixBlock(list.getLength(), 1, false);
 					for( int i=0; i<list.getLength(); i++ )
-						out.quickSetValue(i, 0, ((ScalarObject)list.slice(i)).getDoubleValue());
+						out.set(i, 0, ((ScalarObject)list.slice(i)).getDoubleValue());
 					ec.setMatrixOutput(output.getName(), out);
 				}
 				else {
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/CumulativeOffsetFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/CumulativeOffsetFEDInstruction.java
index e2e3c29369..ef10568e48 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/CumulativeOffsetFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/CumulativeOffsetFEDInstruction.java
@@ -195,7 +195,7 @@ public class CumulativeOffsetFEDInstruction extends BinaryFEDInstruction
 		for(int i = 0; i < tmp.length; i++)
 			try {
 				MatrixBlock curr = ((MatrixBlock) tmp[i].get().getData()[0]);
-				prod.setValue(i, 0, curr.getValue(curr.getNumRows()-1, 0));
+				prod.set(i, 0, curr.get(curr.getNumRows()-1, 0));
 			}
 			catch(Exception e) {
 				throw new DMLRuntimeException("Federated Get data failed with exception on CumulativeOffsetFEDInstruction", e);
@@ -222,7 +222,7 @@ public class CumulativeOffsetFEDInstruction extends BinaryFEDInstruction
 		for(int i = 0; i < tmp.length; i++)
 			try {
 				MatrixBlock curr = ((MatrixBlock) tmp[i].get().getData()[0]);
-				prod.setValue(i, 1, curr.getValue(curr.getNumRows()-1, 1));
+				prod.set(i, 1, curr.get(curr.getNumRows()-1, 1));
 				firstValues.copy(i, i, 0,1, curr.slice(0, 0), true);
 			}
 			catch(Exception e) {
@@ -237,8 +237,8 @@ public class CumulativeOffsetFEDInstruction extends BinaryFEDInstruction
 
 		for(int i = 0; i < scalingValues.getNumRows()-1; i++) {
 			int step = (int) mo1.getFedMapping().getFederatedRanges()[i + 1].getBeginDims()[0];
-			condition.setValue(step, 0, 0.0);
-			mb2.setValue(step, 0, scalingValues.getValue(i + 1, 0));
+			condition.set(step, 0, 0.0);
+			mb2.set(step, 0, scalingValues.get(i + 1, 0));
 		}
 
 		MatrixObject cond = ExecutionContext.createMatrixObject(condition);
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/ParameterizedBuiltinFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/ParameterizedBuiltinFEDInstruction.java
index 5f64bd1ab3..6fa89920bf 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/ParameterizedBuiltinFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/ParameterizedBuiltinFEDInstruction.java
@@ -1041,7 +1041,7 @@ public class ParameterizedBuiltinFEDInstruction extends ComputationFEDInstructio
 					}
 
 					if(!isEmpty)
-						ret.setValue(i, 0, 1.0);
+						ret.set(i, 0, 1.0);
 				}
 			} else {
 				for(int i = 0; i < fb.getNumColumns(); i++) {
@@ -1051,7 +1051,7 @@ public class ParameterizedBuiltinFEDInstruction extends ComputationFEDInstructio
 						.allMatch(e -> ArrayUtils.contains(new double[]{0.0, Double.NaN}, UtilFunctions.objectToDoubleSafe(type, e)));
 
 					if(!isEmpty)
-						ret.setValue(0, i,1.0);
+						ret.set(0, i,1.0);
 				}
 			}
 
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/QuantilePickFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/QuantilePickFEDInstruction.java
index 3b46b2dc41..f9f9dd73f1 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/QuantilePickFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/QuantilePickFEDInstruction.java
@@ -224,7 +224,7 @@ public class QuantilePickFEDInstruction extends BinaryFEDInstruction {
 
 		// Add min to the result
 		MatrixBlock res = new MatrixBlock(quantileValues.getNumRows() + 1, 1, false);
-		res.setValue(0,0, globalMin);
+		res.set(0,0, globalMin);
 		res.copy(1, quantileValues.getNumRows(), 0, 0,  quantileValues,false);
 
 		return res;
@@ -335,7 +335,7 @@ public class QuantilePickFEDInstruction extends BinaryFEDInstruction {
 				if(hist instanceof ImmutablePair)
 					retBuckets.put(i, hist); // set value if returned double instead of bin
 				else
-					out.setValue(i, 0, (Double) hist);
+					out.set(i, 0, (Double) hist);
 			}
 		}
 
@@ -636,7 +636,7 @@ public class QuantilePickFEDInstruction extends BinaryFEDInstruction {
 				for(Map.Entry<Integer, ImmutablePair<Double, Double>> entry : _ranges.entrySet()) {
 					// Find value within computed bin
 					if(entry.getValue().left <= val && val <= entry.getValue().right) {
-						res.setValue(entry.getKey(), 0,val);
+						res.set(entry.getKey(), 0,val);
 						break;
 					}
 				}
@@ -660,9 +660,9 @@ public class QuantilePickFEDInstruction extends BinaryFEDInstruction {
 		@Override
 		public FederatedResponse execute(ExecutionContext ec, Data... data) {
 			MatrixBlock mb = ((MatrixObject) data[0]).acquireReadAndRelease();
-			double[] ret = new double[]{mb.getNumColumns() == 2 ? mb.colMin().quickGetValue(0, 0) : mb.min(),
-				mb.getNumColumns() == 2 ? mb.colMax().quickGetValue(0, 0) : mb.max(),
-				mb.getNumColumns() == 2 ? mb.colSum().quickGetValue(0, 1) : 0,
+			double[] ret = new double[]{mb.getNumColumns() == 2 ? mb.colMin().get(0, 0) : mb.min(),
+				mb.getNumColumns() == 2 ? mb.colMax().get(0, 0) : mb.max(),
+				mb.getNumColumns() == 2 ? mb.colSum().get(0, 1) : 0,
 				mb.getNumColumns() == 2 ? mb.sumWeightForQuantile() : 0};
 			return new FederatedResponse(FederatedResponse.ResponseType.SUCCESS, ret);
 		}
@@ -754,7 +754,7 @@ public class QuantilePickFEDInstruction extends BinaryFEDInstruction {
 			MatrixBlock picked;
 			if (_quantiles.getLength() == 1) {
 				return new FederatedResponse(FederatedResponse.ResponseType.SUCCESS,
-					new Object[] {mb.pickValue(_quantiles.getValue(0, 0))});
+					new Object[] {mb.pickValue(_quantiles.get(0, 0))});
 			}
 			else {
 				picked = mb.pickValues(_quantiles, new MatrixBlock());
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWCeMMFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWCeMMFEDInstruction.java
index 4352bd9476..66a9996f44 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWCeMMFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWCeMMFEDInstruction.java
@@ -82,7 +82,7 @@ public class QuaternaryWCeMMFEDInstruction extends QuaternaryFEDInstruction
 		if(qop.hasFourInputs()) {
 			eps = (_input4.getDataType() == DataType.SCALAR) ?
 				ec.getScalarInput(_input4) :
-				new DoubleObject(ec.getMatrixInput(_input4.getName()).quickGetValue(0, 0));
+				new DoubleObject(ec.getMatrixInput(_input4.getName()).get(0, 0));
 		}
 
 		if(X.isFederated()) {
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWDivMMFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWDivMMFEDInstruction.java
index 681b034f3f..00f27030c1 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWDivMMFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/QuaternaryWDivMMFEDInstruction.java
@@ -102,7 +102,7 @@ public class QuaternaryWDivMMFEDInstruction extends QuaternaryFEDInstruction
 			else {
 				eps = (_input4.getDataType() == DataType.SCALAR) ?
 					ec.getScalarInput(_input4) :
-					new DoubleObject(ec.getMatrixInput(_input4).quickGetValue(0, 0));
+					new DoubleObject(ec.getMatrixInput(_input4).get(0, 0));
 			}
 		}
 
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/UnaryMatrixFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/UnaryMatrixFEDInstruction.java
index 14f553148d..32fee614d7 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/UnaryMatrixFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/UnaryMatrixFEDInstruction.java
@@ -187,7 +187,7 @@ public class UnaryMatrixFEDInstruction extends UnaryFEDInstruction {
 		for(int i = 0; i < tmp.length; i++)
 			try {
 				MatrixBlock curr = ((MatrixBlock) tmp[i].get().getData()[0]);
-				prod.setValue(i, 0, curr.getValue(curr.getNumRows()-1, 0));
+				prod.set(i, 0, curr.get(curr.getNumRows()-1, 0));
 			}
 			catch(Exception e) {
 				throw new DMLRuntimeException("Federated Get data failed with exception on UnaryMatrixFEDInstruction", e);
@@ -214,7 +214,7 @@ public class UnaryMatrixFEDInstruction extends UnaryFEDInstruction {
 		for(int i = 0; i < tmp.length; i++)
 			try {
 				MatrixBlock curr = ((MatrixBlock) tmp[i].get().getData()[0]);
-				prod.setValue(i, 1, curr.getValue(curr.getNumRows()-1, 1));
+				prod.set(i, 1, curr.get(curr.getNumRows()-1, 1));
 				firstValues.copy(i, i, 0,1, curr.slice(0, 0), true);
 			}
 			catch(Exception e) {
@@ -229,8 +229,8 @@ public class UnaryMatrixFEDInstruction extends UnaryFEDInstruction {
 
 		for(int i = 0; i < scalingValues.getNumRows()-1; i++) {
 			int step = (int) mo1.getFedMapping().getFederatedRanges()[i + 1].getBeginDims()[0];
-			condition.setValue(step, 0, 0.0);
-			mb2.setValue(step, 0, scalingValues.getValue(i + 1, 0));
+			condition.set(step, 0, 0.0);
+			mb2.set(step, 0, scalingValues.get(i + 1, 0));
 		}
 
 		MatrixObject cond = ExecutionContext.createMatrixObject(condition);
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/AggregateTernarySPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/AggregateTernarySPInstruction.java
index 6d179fc8fc..6f497a3e8d 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/AggregateTernarySPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/AggregateTernarySPInstruction.java
@@ -78,15 +78,15 @@ public class AggregateTernarySPInstruction extends ComputationSPInstruction {
 		}
 		else { //2 inputs (third is literal 1)
 			out = in1.join( in2 )
-					 .mapToPair(new RDDAggregateTernaryFunction2(aggop));				
+					 .mapToPair(new RDDAggregateTernaryFunction2(aggop));
 		}
 		
 		//aggregate partial results
 		if( aggop.indexFn instanceof ReduceAll ) //tak+*
 		{
-			//aggregate and create output (no lineage because scalar)	   
+			//aggregate and create output (no lineage because scalar)
 			MatrixBlock tmp = RDDAggregateUtils.sumStable(out.values());
-			DoubleObject ret = new DoubleObject(tmp.getValue(0, 0));
+			DoubleObject ret = new DoubleObject(tmp.get(0, 0));
 			sec.setVariable(output.getName(), ret);	
 		}
 		else if( mcIn.dimsKnown() && mcIn.getCols()<=mcIn.getBlocksize() ) //tack+* single block
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/CumulativeAggregateSPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/CumulativeAggregateSPInstruction.java
index 354192862c..b511ac2e25 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/CumulativeAggregateSPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/CumulativeAggregateSPInstruction.java
@@ -117,8 +117,8 @@ public class CumulativeAggregateSPInstruction extends AggregateUnarySPInstructio
 				MatrixBlock t1 = blkIn.unaryOperations(_uop, new MatrixBlock());
 				MatrixBlock t2 = blkIn.slice(0, blkIn.getNumRows()-1, 1, 1, new MatrixBlock());
 				blkOut.reset(1, 2);
-				blkOut.quickSetValue(0, 0, t1.quickGetValue(t1.getNumRows()-1, 0));
-				blkOut.quickSetValue(0, 1, t2.prod());
+				blkOut.set(0, 0, t1.get(t1.getNumRows()-1, 0));
+				blkOut.set(0, 1, t2.prod());
 			}
 			else { //general case
 				OperationsOnMatrixValues.performAggregateUnary( ixIn, blkIn, ixOut, blkOut, aop, _blen);
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/QuantilePickSPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/QuantilePickSPInstruction.java
index cf8feb7b82..2966a51311 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/QuantilePickSPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/QuantilePickSPInstruction.java
@@ -124,7 +124,7 @@ public class QuantilePickSPInstruction extends BinarySPInstruction {
 					int qlen = wt.length/3;
 					MatrixBlock out = new MatrixBlock(qlen,1,false);
 					IntStream.range(0, out.getNumRows())
-						.forEach(i -> out.quickSetValue(i, 0, wt[2*qlen+i+1]));
+						.forEach(i -> out.set(i, 0, wt[2*qlen+i+1]));
 					ec.setMatrixOutput(output.getName(), out);
 				}
 				break;
@@ -143,7 +143,7 @@ public class QuantilePickSPInstruction extends BinarySPInstruction {
 				JavaPairRDD<MatrixIndexes,MatrixBlock> out = in
 					.filter(new FilterFunction(key25+1,key75,mc.getBlocksize()))
 					.mapToPair(new ExtractAndSumFunction(key25+1, key75, mc.getBlocksize()));
-				double sum = RDDAggregateUtils.sumStable(out).getValue(0, 0);
+				double sum = RDDAggregateUtils.sumStable(out).get(0, 0);
 				double val = MatrixBlock.computeIQMCorrection(
 					sum, wt[0], wt[3], wt[5], wt[4], wt[6]);
 				ec.setScalarOutput(output.getName(), new DoubleObject(val));
@@ -233,7 +233,7 @@ public class QuantilePickSPInstruction extends BinarySPInstruction {
 		if( tmp.getNumRows() <= pos )
 			throw new DMLRuntimeException("Invalid key lookup for " +
 				pos + " in block of size " + tmp.getNumRows()+"x"+tmp.getNumColumns());
-		return val.get(0).quickGetValue((int)pos, 0);
+		return val.get(0).get((int)pos, 0);
 	}
 
 	public OperationTypes getOperationType() {
@@ -289,7 +289,7 @@ public class QuantilePickSPInstruction extends BinarySPInstruction {
 			int rl = (ix.getRowIndex() == _minRowIndex) ? _minPos : 0;
 			int ru = (ix.getRowIndex() == _maxRowIndex) ? _maxPos+1 : mb.getNumRows();
 			MatrixBlock ret = new MatrixBlock(1,2,false);
-			ret.setValue(0, 0, (mb.getNumColumns()==1) ? 
+			ret.set(0, 0, (mb.getNumColumns()==1) ? 
 				sum(mb, rl, ru) : sumWeighted(mb, rl, ru));
 			return new Tuple2<>(new MatrixIndexes(1,1), ret);
 		}
@@ -297,15 +297,15 @@ public class QuantilePickSPInstruction extends BinarySPInstruction {
 		private static double sum(MatrixBlock mb, int rl, int ru) {
 			double sum = 0;
 			for(int i=rl; i<ru; i++)
-				sum += mb.quickGetValue(i, 0);
+				sum += mb.get(i, 0);
 			return sum;
 		}
 		
 		private static double sumWeighted(MatrixBlock mb, int rl, int ru) {
 			double sum = 0;
 			for(int i=rl; i<ru; i++)
-				sum += mb.quickGetValue(i, 0)
-					* mb.quickGetValue(i, 1);
+				sum += mb.get(i, 0)
+					* mb.get(i, 1);
 			return sum;
  		}
 	}
@@ -368,12 +368,12 @@ public class QuantilePickSPInstruction extends BinarySPInstruction {
 				MatrixIndexes ix = tmp._1();
 				MatrixBlock mb = tmp._2();
 				for( int i=0; i<mb.getNumRows(); i++ ) {
-					double val = mb.quickGetValue(i, 1);
+					double val = mb.get(i, 1);
 					for( int j=0; j<qlen; j++ ) {
 						if( offset+val >= _qiKeys[qix[j]] ) {
 							long pos = UtilFunctions.computeCellIndex(ix.getRowIndex(), _mc.getBlocksize(), i);
 							double posPart = offset+val - _qdKeys[qix[j]];
-							ret.add(new Tuple2<>(qix[j], new double[]{pos, posPart, mb.quickGetValue(i, 0)}));
+							ret.add(new Tuple2<>(qix[j], new double[]{pos, posPart, mb.get(i, 0)}));
 							_qiKeys[qix[j]] = Long.MAX_VALUE;
 						}
 					}
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/QuaternarySPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/QuaternarySPInstruction.java
index dbb71c724f..fd338b207d 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/QuaternarySPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/QuaternarySPInstruction.java
@@ -263,7 +263,7 @@ public class QuaternarySPInstruction extends ComputationSPInstruction {
 		{
 			//full aggregate and cast to scalar
 			MatrixBlock tmp = RDDAggregateUtils.sumStable(out);
-			DoubleObject ret = new DoubleObject(tmp.getValue(0, 0));
+			DoubleObject ret = new DoubleObject(tmp.get(0, 0));
 			sec.setVariable(output.getName(), ret);
 		}
 		else //map/redwsigmoid, map/redwdivmm, map/redwumm 
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/SpoofSPInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/SpoofSPInstruction.java
index 09d41e6866..14c2727b93 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/SpoofSPInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/SpoofSPInstruction.java
@@ -158,7 +158,7 @@ public class SpoofSPInstruction extends SPInstruction {
 				out = in.mapPartitionsToPair(new CellwiseFunction(_class.getName(),
 					_classBytes, bcVect2, bcMatrices, scalars, mcIn.getBlocksize()), true);
 				MatrixBlock tmpMB = RDDAggregateUtils.aggStable(out, aggop);
-				sec.setVariable(_out.getName(), new DoubleObject(tmpMB.getValue(0, 0)));
+				sec.setVariable(_out.getName(), new DoubleObject(tmpMB.get(0, 0)));
 			}
 		}
 		else if(_class.getSuperclass() == SpoofMultiAggregate.class) //MAGG
@@ -196,7 +196,7 @@ public class SpoofSPInstruction extends SPInstruction {
 				out = in.mapPartitionsToPair(new OuterProductFunction(
 					_class.getName(), _classBytes, bcVect2, bcMatrices, scalars), true);
 				MatrixBlock tmp = RDDAggregateUtils.sumStable(out);
-				sec.setVariable(_out.getName(), new DoubleObject(tmp.getValue(0, 0)));
+				sec.setVariable(_out.getName(), new DoubleObject(tmp.get(0, 0)));
 			}
 		}
 		else if( _class.getSuperclass() == SpoofRowwise.class ) { //ROW
@@ -218,7 +218,7 @@ public class SpoofSPInstruction extends SPInstruction {
 					sec.setMatrixOutput(_out.getName(), tmpMB);
 				else
 					sec.setScalarOutput(_out.getName(),
-						new DoubleObject(tmpMB.quickGetValue(0, 0)));
+						new DoubleObject(tmpMB.get(0, 0)));
 			}
 			else //row-agg or no-agg
 			{
@@ -501,7 +501,7 @@ public class SpoofSPInstruction extends SPInstruction {
 				if( _op.getCellType()==CellType.FULL_AGG ) {
 					ScalarObject obj = _op.execute(inputs, _scalars, 1, rix);
 					blkOut.reset(1, 1);
-					blkOut.quickSetValue(0, 0, obj.getDoubleValue());
+					blkOut.set(0, 0, obj.getDoubleValue());
 				}
 				else {
 					if( _op.getCellType()==CellType.ROW_AGG )
@@ -613,7 +613,7 @@ public class SpoofSPInstruction extends SPInstruction {
 				if(((SpoofOuterProduct)_op).getOuterProdType()==OutProdType.AGG_OUTER_PRODUCT) {
 					ScalarObject obj = _op.execute(inputs, _scalars,1);
 					blkOut.reset(1, 1);
-					blkOut.quickSetValue(0, 0, obj.getDoubleValue());
+					blkOut.set(0, 0, obj.getDoubleValue());
 				}
 				else {
 					blkOut = _op.execute(inputs, _scalars, blkOut);
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractBlockForBinaryReblock.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractBlockForBinaryReblock.java
index c2022cdfe8..ff6f786136 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractBlockForBinaryReblock.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractBlockForBinaryReblock.java
@@ -106,7 +106,7 @@ public class ExtractBlockForBinaryReblock implements PairFlatMapFunction<Tuple2<
 					}
 					for(int i2 = 0; i2 <= (int)(rowUpper-rowLower); i2++)
 						for(int j2 = 0; j2 <= (int)(colUpper-colLower); j2++)
-							blk.appendValue(cixi+i2, cixj+j2, in.quickGetValue(aixi+i2, aixj+j2));
+							blk.appendValue(cixi+i2, cixj+j2, in.get(aixi+i2, aixj+j2));
 				}
 				retVal.add(new Tuple2<>(indx, blk));
 			}
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroup.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroup.java
index 6961059c74..1f79b615bc 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroup.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroup.java
@@ -68,7 +68,7 @@ public abstract class ExtractGroup implements Serializable
 			
 			for(int i=0; i<tmp.getNumRows(); i++) {
 				for( int j=0; j<tmp.getNumColumns(); j++ ) {
-					double tmpval = tmp.quickGetValue(i, j);
+					double tmpval = tmp.get(i, j);
 					if( tmpval != 0 ) {
 						WeightedCell weightedCell = new WeightedCell();
 						weightedCell.setValue(tmpval);
@@ -83,13 +83,13 @@ public abstract class ExtractGroup implements Serializable
 		else 
 		{
 			for(int i = 0; i < group.getNumRows(); i++) {
-				long groupVal = UtilFunctions.toLong(group.quickGetValue(i, 0));
+				long groupVal = UtilFunctions.toLong(group.get(i, 0));
 				if(groupVal < 1) {
 					throw new Exception("Expected group values to be greater than equal to 1 but found " + groupVal);
 				}
 				for( int j=0; j<target.getNumColumns(); j++ ) {
 					WeightedCell weightedCell = new WeightedCell();
-					weightedCell.setValue(target.quickGetValue(i, j));
+					weightedCell.setValue(target.get(i, j));
 					weightedCell.setWeight(1);
 					MatrixIndexes ixout = new MatrixIndexes(groupVal,coloff+j+1);
 					groupValuePairs.add(new Tuple2<>(ixout, weightedCell));
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroupNWeights.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroupNWeights.java
index 797ae71e1f..ab7869c31a 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroupNWeights.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/functions/ExtractGroupNWeights.java
@@ -52,9 +52,9 @@ public class ExtractGroupNWeights implements PairFlatMapFunction<Tuple2<MatrixIn
 		ArrayList<Tuple2<MatrixIndexes, WeightedCell>> groupValuePairs = new ArrayList<>();
 		for(int i = 0; i < group.getNumRows(); i++) {
 			WeightedCell weightedCell = new WeightedCell();
-			weightedCell.setValue(target.quickGetValue(i, 0));
-			weightedCell.setWeight(weight.quickGetValue(i, 0));
-			long groupVal = UtilFunctions.toLong(group.quickGetValue(i, 0));
+			weightedCell.setValue(target.get(i, 0));
+			weightedCell.setWeight(weight.get(i, 0));
+			long groupVal = UtilFunctions.toLong(group.get(i, 0));
 			if(groupVal < 1) {
 				throw new Exception("Expected group values to be greater than equal to 1 but found " + groupVal);
 			}
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.java
index bd46ba4088..ebabc41d4b 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.java
@@ -208,7 +208,7 @@ public class RDDAggregateUtils
 	public static double max(JavaPairRDD<MatrixIndexes, MatrixBlock> in) {
 		AggregateUnaryOperator auop = InstructionUtils.parseBasicAggregateUnaryOperator("uamax");
 		MatrixBlock tmp = aggStable(in.map(new RDDUAggFunction2(auop, -1)), auop.aggOp);
-		return tmp.quickGetValue(0, 0);
+		return tmp.get(0, 0);
 	}
 	
 	/**
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDConverterUtils.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDConverterUtils.java
index 71c8226cc4..71f25891b5 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDConverterUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDConverterUtils.java
@@ -485,7 +485,7 @@ public class RDDConverterUtils {
 			ArrayList<LabeledPoint> ret = new ArrayList<>();
 			for( int i=0; i<arg0.getNumRows(); i++ ) {
 				MatrixBlock tmp = arg0.slice(i, i, 0, arg0.getNumColumns()-2, new MatrixBlock());
-				ret.add(new LabeledPoint(arg0.getValue(i, arg0.getNumColumns()-1), createVector(tmp)));
+				ret.add(new LabeledPoint(arg0.get(i, arg0.getNumColumns()-1), createVector(tmp)));
 			}
 
 			return ret.iterator();
@@ -962,7 +962,7 @@ public class RDDConverterUtils {
 				for(int j=0; j<blk.getNumColumns(); j++) {
 					if(j != 0)
 						sb.append(_props.getDelim());
-					double val = blk.quickGetValue(i, j);
+					double val = blk.get(i, j);
 					if(!(_props.isSparse() && val == 0))
 						sb.append(val);
 				}
@@ -1028,12 +1028,12 @@ public class RDDConverterUtils {
 			{
 				for(int i = 0; i < blk.getNumRows(); i++) {
 					// append the class label as the 1st column
-					double label = blk.quickGetValue(i, blk.getNumColumns() - 1);
+					double label = blk.get(i, blk.getNumColumns() - 1);
 					sb.append(label);
 
 					// append dense row
 					for(int j = 0; j < blk.getNumColumns() - 1; j++) {
-						double val = blk.quickGetValue(i, j);
+						double val = blk.get(i, j);
 						if(val != 0) {
 							sb.append(_props.getDelim());
 							appendIndexValLibsvm(sb, j, val);
@@ -1319,7 +1319,7 @@ public class RDDConverterUtils {
 					int cl = (kv._1().intValue()-1)*_blen;
 					MatrixBlock mb = kv._2();
 					for( int j=0; j<mb.getNumColumns(); j++ )
-						row[cl+j+1] = mb.quickGetValue(0, j);
+						row[cl+j+1] = mb.get(0, j);
 				}
 			}
 
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDSortUtils.java b/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDSortUtils.java
index ca2bfef175..8d10885cb9 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDSortUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/spark/utils/RDDSortUtils.java
@@ -255,7 +255,7 @@ public class RDDSortUtils
 		//flip sort indices from <source ix in target pos> to <target ix in source pos>
 		MatrixBlock sortedIxSrc = new MatrixBlock(sortedIx.getNumRows(), 1, false); 
 		for (int i=0; i < sortedIx.getNumRows(); i++) 
-			sortedIxSrc.quickSetValue((int)sortedIx.quickGetValue(i,0)-1, 0, i+1);
+			sortedIxSrc.set((int)sortedIx.get(i,0)-1, 0, i+1);
 
 		//broadcast index vector
 		PartitionedBlock<MatrixBlock> pmb = new PartitionedBlock<>(sortedIxSrc, blen);
@@ -306,8 +306,8 @@ public class RDDSortUtils
 			
 			for( int i=0; i<mb1.getNumRows(); i++) {
 				ret.add(new DoublePair(
-						mb1.quickGetValue(i, 0),
-						mb2.quickGetValue(i, 0)));
+						mb1.get(i, 0),
+						mb2.get(i, 0)));
 			}
 			
 			return ret.iterator();
@@ -335,7 +335,7 @@ public class RDDSortUtils
 			
 			long ixoffset = (ix.getRowIndex()-1)*_blen;
 			for( int i=0; i<mb.getNumRows(); i++) {
-				double val = mb.quickGetValue(i, 0);
+				double val = mb.get(i, 0);
 				ret.add(new Tuple2<>(new ValueIndexPair(val,ixoffset+i+1), val));
 			}
 			
@@ -460,7 +460,7 @@ public class RDDSortUtils
 					mb = new MatrixBlock((int)len, 1, false);	
 				}
 				
-				mb.quickSetValue(pos, 0, val._1);
+				mb.set(pos, 0, val._1);
 			}
 			
 			//flush last block
@@ -507,8 +507,8 @@ public class RDDSortUtils
 					mb = new MatrixBlock((int)len, 2, false);
 				}
 				
-				mb.quickSetValue(pos, 0, val._1.val1);
-				mb.quickSetValue(pos, 1, val._1.val2);
+				mb.set(pos, 0, val._1.val1);
+				mb.set(pos, 1, val._1.val2);
 			}
 			
 			//flush last block
@@ -557,7 +557,7 @@ public class RDDSortUtils
 					mb = new MatrixBlock((int)len, 1, false);	
 				}
 				
-				mb.quickSetValue(pos, 0, val._1.ix);
+				mb.set(pos, 0, val._1.ix);
 			}
 			
 			//flush last block
@@ -606,7 +606,7 @@ public class RDDSortUtils
 					mb = new MatrixBlock((int)len, 1, false);	
 				}
 				
-				mb.quickSetValue(pos, 0, val._2+1);
+				mb.set(pos, 0, val._2+1);
 			}
 			
 			//flush last block
@@ -700,7 +700,7 @@ public class RDDSortUtils
 					mb = new MatrixBlock((int)len, 1, false);
 				}
 				
-				mb.quickSetValue(pos, 0, val._1.ix);
+				mb.set(pos, 0, val._1.ix);
 			}
 			
 			//flush last block
@@ -771,7 +771,7 @@ public class RDDSortUtils
 					MatrixBlock data = _currBlk._2()._1();
 					MatrixBlock mbTargetIndex = _currBlk._2()._2();
 					
-					long valix = (long) mbTargetIndex.getValue(_currPos, 0);
+					long valix = (long) mbTargetIndex.get(_currPos, 0);
 					long rix = UtilFunctions.computeBlockIndex(valix, _blen);
 					int pos = UtilFunctions.computeCellInBlock(valix, _blen);
 					int len = UtilFunctions.computeBlockSize(_rlen, rix, _blen);
@@ -861,7 +861,7 @@ public class RDDSortUtils
 					MatrixBlock data = _currBlk._2();
 					MatrixBlock mbTargetIndex = _pmb.value().getBlock((int)ixmap.getRowIndex(), 1);
 					
-					long valix = (long) mbTargetIndex.getValue(_currPos, 0);
+					long valix = (long) mbTargetIndex.get(_currPos, 0);
 					long rix = UtilFunctions.computeBlockIndex(valix, _blen);
 					int pos = UtilFunctions.computeCellInBlock(valix, _blen);
 					int len = UtilFunctions.computeBlockSize(_rlen, rix, _blen);
diff --git a/src/main/java/org/apache/sysds/runtime/io/WriterHDF5.java b/src/main/java/org/apache/sysds/runtime/io/WriterHDF5.java
index d58c0f77e0..a2fcd2c5b6 100644
--- a/src/main/java/org/apache/sysds/runtime/io/WriterHDF5.java
+++ b/src/main/java/org/apache/sysds/runtime/io/WriterHDF5.java
@@ -24,6 +24,7 @@ import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.mapred.JobConf;
 import org.apache.sysds.conf.ConfigurationManager;
 import org.apache.sysds.runtime.DMLRuntimeException;
+import org.apache.sysds.runtime.data.DenseBlock;
 import org.apache.sysds.runtime.io.hdf5.H5;
 import org.apache.sysds.runtime.io.hdf5.H5RootObject;
 import org.apache.sysds.runtime.matrix.data.MatrixBlock;
@@ -98,9 +99,10 @@ public class WriterHDF5 extends MatrixWriter {
 
 			// Write the data to the datasets.
 			double[] data = new double[clen];
+			DenseBlock d = src.getDenseBlock();
 			for(int i = rl; i < rlen; i++) {
 				for(int j = 0; j < clen;j++) {
-					double lvalue = src.getValueDenseUnsafe(i, j);
+					double lvalue = d!=null ? d.get(i, j) : 0;
 					data[j] = lvalue;
 				}
 				H5.H5Dwrite(rootObject, data);
diff --git a/src/main/java/org/apache/sysds/runtime/io/WriterMatrixMarket.java b/src/main/java/org/apache/sysds/runtime/io/WriterMatrixMarket.java
index 5c34e5bff8..d5eeabeb50 100644
--- a/src/main/java/org/apache/sysds/runtime/io/WriterMatrixMarket.java
+++ b/src/main/java/org/apache/sysds/runtime/io/WriterMatrixMarket.java
@@ -35,6 +35,7 @@ import org.apache.hadoop.io.IOUtils;
 import org.apache.hadoop.mapred.JobConf;
 import org.apache.sysds.conf.ConfigurationManager;
 import org.apache.sysds.runtime.DMLRuntimeException;
+import org.apache.sysds.runtime.data.DenseBlock;
 import org.apache.sysds.runtime.matrix.data.IJV;
 import org.apache.sysds.runtime.matrix.data.MatrixBlock;
 import org.apache.sysds.runtime.util.HDFSTool;
@@ -134,22 +135,23 @@ public class WriterMatrixMarket extends MatrixWriter
 			}
 			else //DENSE
 			{
-				for( int i=rl; i<ru; i++ )
-				{
-					String rowIndex = Integer.toString(i+1);					
-					for( int j=0; j<clen; j++ )
-					{
-						double lvalue = src.getValueDenseUnsafe(i, j);
-						if( lvalue != 0 ) //for nnz
-						{
-							sb.append(rowIndex);
-							sb.append(' ');
-							sb.append(j+1);
-							sb.append(' ');
-							sb.append(lvalue);
-							sb.append('\n');
-							br.write( sb.toString() ); //same as append
-							sb.setLength(0); 
+				if( !src.isEmpty() ) {
+					DenseBlock d = src.getDenseBlock();
+					for( int i=rl; i<ru; i++ ) {
+						String rowIndex = Integer.toString(i+1);
+						for( int j=0; j<clen; j++ ) {
+							double lvalue = d.get(i, j);
+							if( lvalue != 0 ) //for nnz
+							{
+								sb.append(rowIndex);
+								sb.append(' ');
+								sb.append(j+1);
+								sb.append(' ');
+								sb.append(lvalue);
+								sb.append('\n');
+								br.write( sb.toString() ); //same as append
+								sb.setLength(0); 
+							}
 						}
 					}
 				}
diff --git a/src/main/java/org/apache/sysds/runtime/io/WriterTextCSV.java b/src/main/java/org/apache/sysds/runtime/io/WriterTextCSV.java
index b81320e21a..4e3cf74239 100644
--- a/src/main/java/org/apache/sysds/runtime/io/WriterTextCSV.java
+++ b/src/main/java/org/apache/sysds/runtime/io/WriterTextCSV.java
@@ -35,6 +35,7 @@ import org.apache.hadoop.io.IOUtils;
 import org.apache.hadoop.mapred.JobConf;
 import org.apache.sysds.conf.ConfigurationManager;
 import org.apache.sysds.runtime.DMLRuntimeException;
+import org.apache.sysds.runtime.data.DenseBlock;
 import org.apache.sysds.runtime.data.SparseBlock;
 import org.apache.sysds.runtime.matrix.data.MatrixBlock;
 import org.apache.sysds.runtime.util.HDFSTool;
@@ -205,6 +206,7 @@ public class WriterTextCSV extends MatrixWriter
 			}
 			else //DENSE
 			{
+				DenseBlock d = src.getDenseBlock();
 				for( int i=rl; i<ru; i++ ) 
 				{
 					//write row chunk-wise to prevent OOM on large number of columns
@@ -212,7 +214,7 @@ public class WriterTextCSV extends MatrixWriter
 					{
 						for( int j=bj; j<Math.min(clen,bj+BLOCKSIZE_J); j++ )
 						{
-							double lvalue = src.getValueDenseUnsafe(i, j);
+							double lvalue = d!=null ? d.get(i, j) : 0;
 							if( lvalue != 0 ) //for nnz
 								sb.append(lvalue);
 							else if( !csvsparse ) 
@@ -222,7 +224,7 @@ public class WriterTextCSV extends MatrixWriter
 								sb.append(delim);
 						}
 						br.write( sb.toString() );
-			            sb.setLength(0);
+						sb.setLength(0);
 					}
 					
 					sb.append('\n');
diff --git a/src/main/java/org/apache/sysds/runtime/io/WriterTextCell.java b/src/main/java/org/apache/sysds/runtime/io/WriterTextCell.java
index aca712c869..f5dd64af8f 100644
--- a/src/main/java/org/apache/sysds/runtime/io/WriterTextCell.java
+++ b/src/main/java/org/apache/sysds/runtime/io/WriterTextCell.java
@@ -30,6 +30,7 @@ import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.mapred.JobConf;
 import org.apache.sysds.conf.ConfigurationManager;
 import org.apache.sysds.runtime.DMLRuntimeException;
+import org.apache.sysds.runtime.data.DenseBlock;
 import org.apache.sysds.runtime.matrix.data.IJV;
 import org.apache.sysds.runtime.matrix.data.MatrixBlock;
 import org.apache.sysds.runtime.util.HDFSTool;
@@ -109,22 +110,23 @@ public class WriterTextCell extends MatrixWriter
 			}
 			else //DENSE
 			{
-				for( int i=rl; i<ru; i++ )
-				{
-					String rowIndex = Integer.toString(i+1);
-					for( int j=0; j<clen; j++ )
-					{
-						double lvalue = src.getValueDenseUnsafe(i, j);
-						if( lvalue != 0 ) //for nnz
-						{
-							sb.append(rowIndex);
-							sb.append(' ');
-							sb.append( j+1 );
-							sb.append(' ');
-							sb.append( lvalue );
-							sb.append('\n');
-							br.write( sb.toString() ); //same as append
-							sb.setLength(0); 
+				if( !src.isEmpty() ) {
+					DenseBlock d = src.getDenseBlock();
+					for( int i=rl; i<ru; i++ ) {
+						String rowIndex = Integer.toString(i+1);
+						for( int j=0; j<clen; j++ ) {
+							double lvalue = d.get(i, j);
+							if( lvalue != 0 ) //for nnz
+							{
+								sb.append(rowIndex);
+								sb.append(' ');
+								sb.append( j+1 );
+								sb.append(' ');
+								sb.append( lvalue );
+								sb.append('\n');
+								br.write( sb.toString() ); //same as append
+								sb.setLength(0); 
+							}
 						}
 					}
 				}
diff --git a/src/main/java/org/apache/sysds/runtime/io/WriterTextLIBSVM.java b/src/main/java/org/apache/sysds/runtime/io/WriterTextLIBSVM.java
index 0bc7c2e305..6fd3a5940e 100644
--- a/src/main/java/org/apache/sysds/runtime/io/WriterTextLIBSVM.java
+++ b/src/main/java/org/apache/sysds/runtime/io/WriterTextLIBSVM.java
@@ -28,6 +28,7 @@ import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.mapred.JobConf;
 import org.apache.sysds.conf.ConfigurationManager;
 import org.apache.sysds.runtime.DMLRuntimeException;
+import org.apache.sysds.runtime.data.DenseBlock;
 import org.apache.sysds.runtime.data.SparseBlock;
 import org.apache.sysds.runtime.matrix.data.MatrixBlock;
 import org.apache.sysds.runtime.util.HDFSTool;
@@ -123,14 +124,15 @@ public class WriterTextLIBSVM extends MatrixWriter {
 			}
 			else //DENSE
 			{
+				DenseBlock d = src.getDenseBlock();
 				for( int i=rl; i<rlen; i++ ) {
 					// append the class label as the 1st column
-					double label = src.getValueDenseUnsafe(i, clen-1);
+					double label = d!=null ? d.get(i, clen-1) : 0;
 					sb.append(label);
 
 					// append dense row
 					for( int j=0; j<clen-1; j++ ) {
-						double val = src.getValueDenseUnsafe(i, j);
+						double val = d!=null ? d.get(i, clen-1) : 0;
 						if( val != 0 ) {
 							sb.append(_props.getDelim());
 							appendIndexValLibsvm(sb, j, val);
diff --git a/src/main/java/org/apache/sysds/runtime/iogen/ReaderMapping.java b/src/main/java/org/apache/sysds/runtime/iogen/ReaderMapping.java
index c44c46de8a..ea28e533e4 100644
--- a/src/main/java/org/apache/sysds/runtime/iogen/ReaderMapping.java
+++ b/src/main/java/org/apache/sysds/runtime/iogen/ReaderMapping.java
@@ -134,7 +134,7 @@ public class ReaderMapping {
 					HashSet<Integer> checkedLines = new HashSet<>();
 					while(checkedLines.size() < nlines) {
 						RawIndex ri = this.sampleRawIndexes[itRow];
-						Pair<Integer, Integer> pair = this.isMatrix ? ri.findValue(this.sampleMatrix.getValue(r, c)) : ri.findValue(this.sampleFrame.get(r, c), this.schema[c]);
+						Pair<Integer, Integer> pair = this.isMatrix ? ri.findValue(this.sampleMatrix.get(r, c)) : ri.findValue(this.sampleFrame.get(r, c), this.schema[c]);
 						if(pair != null) {
 							this.mapRow[r][c] = itRow;
 							this.mapCol[r][c] = pair.getKey();
@@ -274,7 +274,7 @@ public class ReaderMapping {
 					if(this.isMatrix) {
 						HashSet<Double> patternValueSet = new HashSet<>();
 						for(int c = 0; c < ncols; c++)
-							patternValueSet.add(this.sampleMatrix.getValue(r, c));
+							patternValueSet.add(this.sampleMatrix.get(r, c));
 						if(patternValueSet.size() == 1) {
 							vtc0 = Types.ValueType.FP64;
 							patternMap = true;
@@ -303,7 +303,7 @@ public class ReaderMapping {
 	private boolean checkValueIsNotNullZero(int r, int c) {
 		boolean result;
 		if(this.isMatrix)
-			result = this.sampleMatrix.getValue(r, c) != 0;
+			result = this.sampleMatrix.get(r, c) != 0;
 		else {
 			if(this.sampleFrame.getSchema()[c].isNumeric())
 				result = this.sampleFrame.getDouble(r, c) != 0;
@@ -317,7 +317,7 @@ public class ReaderMapping {
 	private boolean checkSymmetricValue(int r, int c, int a) {
 		boolean result;
 		if(this.isMatrix)
-			result = this.sampleMatrix.getValue(r, c) == this.sampleMatrix.getValue(c, r) * a;
+			result = this.sampleMatrix.get(r, c) == this.sampleMatrix.get(c, r) * a;
 		else if(this.sampleFrame.getSchema()[c].isNumeric())
 			result = this.sampleFrame.getDouble(r, c) == this.sampleFrame.getDouble(c, r) * a;
 		else
@@ -365,7 +365,7 @@ public class ReaderMapping {
 	public boolean compareCellValue (int r, int c, String value){
 		if(isMatrix)
 			try {
-				return sampleMatrix.getValue(r, c) == UtilFunctions.objectToDouble(Types.ValueType.FP64, value);
+				return sampleMatrix.get(r, c) == UtilFunctions.objectToDouble(Types.ValueType.FP64, value);
 			}
 			catch(Exception exception){
 				return false;
diff --git a/src/main/java/org/apache/sysds/runtime/iogen/ReaderMappingIndex.java b/src/main/java/org/apache/sysds/runtime/iogen/ReaderMappingIndex.java
index 20bf8a041c..f923c12a00 100644
--- a/src/main/java/org/apache/sysds/runtime/iogen/ReaderMappingIndex.java
+++ b/src/main/java/org/apache/sysds/runtime/iogen/ReaderMappingIndex.java
@@ -135,7 +135,7 @@ public class ReaderMappingIndex {
 					HashSet<Integer> checkedLines = new HashSet<>();
 					while(checkedLines.size() < nlines) {
 						RawIndex ri = this.sampleRawIndexes[itRow];
-						Pair<Integer, Integer> pair = this.isMatrix ? ri.findValue(this.sampleMatrix.getValue(r, c)) : ri.findValue(this.sampleFrame.get(r, c), this.schema[c]);
+						Pair<Integer, Integer> pair = this.isMatrix ? ri.findValue(this.sampleMatrix.get(r, c)) : ri.findValue(this.sampleFrame.get(r, c), this.schema[c]);
 						if(pair != null) {
 							this.mapRow[r][c] = itRow;
 							this.mapCol[r][c] = pair.getKey();
@@ -275,7 +275,7 @@ public class ReaderMappingIndex {
 					if(this.isMatrix) {
 						HashSet<Double> patternValueSet = new HashSet<>();
 						for(int c = 0; c < ncols; c++)
-							patternValueSet.add(this.sampleMatrix.getValue(r, c));
+							patternValueSet.add(this.sampleMatrix.get(r, c));
 						if(patternValueSet.size() == 1) {
 							vtc0 = Types.ValueType.FP64;
 							patternMap = true;
@@ -304,7 +304,7 @@ public class ReaderMappingIndex {
 	private boolean checkValueIsNotNullZero(int r, int c) {
 		boolean result;
 		if(this.isMatrix)
-			result = this.sampleMatrix.getValue(r, c) != 0;
+			result = this.sampleMatrix.get(r, c) != 0;
 		else {
 			if(this.sampleFrame.getSchema()[c].isNumeric())
 				result = this.sampleFrame.getDouble(r, c) != 0;
@@ -318,7 +318,7 @@ public class ReaderMappingIndex {
 	private boolean checkSymmetricValue(int r, int c, int a) {
 		boolean result;
 		if(this.isMatrix)
-			result = this.sampleMatrix.getValue(r, c) == this.sampleMatrix.getValue(c, r) * a;
+			result = this.sampleMatrix.get(r, c) == this.sampleMatrix.get(c, r) * a;
 		else if(this.sampleFrame.getSchema()[c].isNumeric())
 			result = this.sampleFrame.getDouble(r, c) == this.sampleFrame.getDouble(c, r) * a;
 		else
@@ -366,7 +366,7 @@ public class ReaderMappingIndex {
 	public boolean compareCellValue (int r, int c, String value){
 		if(isMatrix)
 			try {
-				return sampleMatrix.getValue(r, c) == UtilFunctions.objectToDouble(Types.ValueType.FP64, value);
+				return sampleMatrix.get(r, c) == UtilFunctions.objectToDouble(Types.ValueType.FP64, value);
 			}
 			catch(Exception exception){
 				return false;
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/CM_N_COVCell.java b/src/main/java/org/apache/sysds/runtime/matrix/data/CM_N_COVCell.java
index a367af4f7b..aef6e78260 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/CM_N_COVCell.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/CM_N_COVCell.java
@@ -83,7 +83,7 @@ public class CM_N_COVCell extends MatrixValue
 	}
 
 	@Override
-	public double getValue(int r, int c) {
+	public double get(int r, int c) {
 		throw new RuntimeException("operation not supported for CM_N_COVCell");
 	}
 
@@ -136,7 +136,7 @@ public class CM_N_COVCell extends MatrixValue
 	}
 
 	@Override
-	public void setValue(int r, int c, double v) {
+	public void set(int r, int c, double v) {
 		throw new RuntimeException("operation not supported for CM_N_COVCell");
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/CTableMap.java b/src/main/java/org/apache/sysds/runtime/matrix/data/CTableMap.java
index ff4b5c76de..c1ed1b1064 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/CTableMap.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/CTableMap.java
@@ -113,7 +113,7 @@ public class CTableMap
 				int rix = (int)e.getKey1();
 				int cix = (int)e.getKey2();
 				if( value != 0 && rix<=rlen && cix<=clen )
-					mb.quickSetValue( rix-1, cix-1, value );
+					mb.set( rix-1, cix-1, value );
 			}
 		}
 		
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibCommonsMath.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibCommonsMath.java
index 81f2215fd3..d53b30e713 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibCommonsMath.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibCommonsMath.java
@@ -592,15 +592,15 @@ public class LibCommonsMath
 			if(i < m - 1) {
 				w1 = w1.ternaryOperations(op_minus_mul, v1, alpha, new MatrixBlock());
 				w1 = w1.ternaryOperations(op_minus_mul, v0, beta, new MatrixBlock());
-				beta.setValue(0, 0, Math.sqrt(w1.sumSq()));
+				beta.set(0, 0, Math.sqrt(w1.sumSq()));
 				v0.copy(v1);
 				op_div_scalar = op_div_scalar.setConstant(beta.getDouble(0, 0));
 				w1.scalarOperations(op_div_scalar, v1);
 
-				T.setValue(i + 1, i, beta.getValue(0, 0));
-				T.setValue(i, i + 1, beta.getValue(0, 0));
+				T.set(i + 1, i, beta.get(0, 0));
+				T.set(i, i + 1, beta.get(0, 0));
 			}
-			T.setValue(i, i, alpha.getValue(0, 0));
+			T.set(i, i, alpha.get(0, 0));
 		}
 
 		MatrixBlock[] e = computeEigen(T);
@@ -631,7 +631,7 @@ public class LibCommonsMath
 
 		MatrixBlock Q_n = new MatrixBlock(m, m, true);
 		for(int i = 0; i < m; i++) {
-			Q_n.setValue(i, i, 1.0);
+			Q_n.set(i, i, 1.0);
 		}
 
 		ReorgOperator op_t = new ReorgOperator(SwapIndex.getSwapIndexFnObject(), threads);
@@ -644,7 +644,7 @@ public class LibCommonsMath
 			MatrixBlock z = A_n.slice(k, m - 1, k, k);
 			MatrixBlock uk = new MatrixBlock(m - k, 1, 0.0);
 			uk.copy(z);
-			uk.setValue(0, 0, uk.getValue(0, 0) + Math.signum(z.getValue(0, 0)) * Math.sqrt(z.sumSq()));
+			uk.set(0, 0, uk.get(0, 0) + Math.signum(z.get(0, 0)) * Math.sqrt(z.sumSq()));
 			op_div_scalar = op_div_scalar.setConstant(Math.sqrt(uk.sumSq()));
 			uk = uk.scalarOperations(op_div_scalar, new MatrixBlock());
 
@@ -686,7 +686,7 @@ public class LibCommonsMath
 
 		MatrixBlock Q_prod = new MatrixBlock(m, m, 0.0);
 		for(int i = 0; i < m; i++) {
-			Q_prod.setValue(i, i, 1.0);
+			Q_prod.set(i, i, 1.0);
 		}
 
 		for(int i = 0; i < num_iterations; i++) {
@@ -723,7 +723,7 @@ public class LibCommonsMath
 		for(int k = 0; k < m - 2; k++) {
 			MatrixBlock ajk = A_n.slice(0, m - 1, k, k);
 			for(int i = 0; i <= k; i++) {
-				ajk.setValue(i, 0, 0.0);
+				ajk.set(i, 0, 0.0);
 			}
 			double alpha = Math.sqrt(ajk.sumSq());
 			double ak1k = A_n.getDouble(k + 1, k);
@@ -732,13 +732,13 @@ public class LibCommonsMath
 			double r = Math.sqrt(0.5 * (alpha * alpha - ak1k * alpha));
 			MatrixBlock v = new MatrixBlock(m, 1, 0.0);
 			v.copy(ajk);
-			v.setValue(k + 1, 0, ak1k - alpha);
+			v.set(k + 1, 0, ak1k - alpha);
 			ScalarOperator op_div_scalar = new RightScalarOperator(Divide.getDivideFnObject(), 2 * r, threads);
 			v = v.scalarOperations(op_div_scalar, new MatrixBlock());
 
 			MatrixBlock P = new MatrixBlock(m, m, 0.0);
 			for(int i = 0; i < m; i++) {
-				P.setValue(i, i, 1.0);
+				P.set(i, i, 1.0);
 			}
 
 			ReorgOperator op_t = new ReorgOperator(SwapIndex.getSwapIndexFnObject(), threads);
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAgg.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAgg.java
index 1d2c064307..b8d70c5acc 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAgg.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAgg.java
@@ -835,8 +835,8 @@ public class LibMatrixAgg {
 			if (in1.sparse && in1.sparseBlock!=null) { //SPARSE
 				for(int i = rl; i < ru; i++) { 
 					fn.execute(ret,
-						in1.quickGetValue(i,0),
-						in2.quickGetValue(i,0));
+						in1.get(i,0),
+						in2.get(i,0));
 				}
 			}
 			else if(in1.denseBlock!=null) //DENSE
@@ -852,7 +852,7 @@ public class LibMatrixAgg {
 				}
 				else {
 					for(int i = rl; i < ru; i++) 
-						fn.execute(ret, a[i], in2.quickGetValue(i,0) );
+						fn.execute(ret, a[i], in2.get(i,0) );
 				}
 			}
 		}
@@ -860,9 +860,9 @@ public class LibMatrixAgg {
 			if(in1.sparse && in1.sparseBlock!=null) { //SPARSE
 				for(int i = rl; i < ru; i++ ) {
 					fn.execute(ret,
-						in1.quickGetValue(i,0),
-						in2.quickGetValue(i,0),
-						in3.quickGetValue(i,0));
+						in1.get(i,0),
+						in2.get(i,0),
+						in3.get(i,0));
 				}
 			}
 			else if(in1.denseBlock!=null) { //DENSE
@@ -880,8 +880,8 @@ public class LibMatrixAgg {
 				else {
 					for(int i = rl; i < ru; i++) {
 						fn.execute(ret, a[i],
-							in2.quickGetValue(i,0),
-							in3.quickGetValue(i,0));
+							in2.get(i,0),
+							in3.get(i,0));
 					}
 				}
 			}
@@ -909,8 +909,8 @@ public class LibMatrixAgg {
 					double val = a[ix] * b1[ix] * b2val;
 					kplus.execute2( kbuff, val );
 				}
-			ret.quickSetValue(0, 0, kbuff._sum);
-			ret.quickSetValue(0, 1, kbuff._correction);
+			ret.set(0, 0, kbuff._sum);
+			ret.set(0, 1, kbuff._correction);
 		}
 		else //tack+*
 		{
@@ -962,15 +962,15 @@ public class LibMatrixAgg {
 					double[] avals = a.values(i);
 					for( int j=apos; j<apos+alen; j++ ) {
 						double val1 = avals[j];
-						double val2 = lin2.quickGetValue(i, aix[j]);
+						double val2 = lin2.get(i, aix[j]);
 						double val = val1 * val2;
 						if( val != 0 && lin3 != null )
-							val *= lin3.quickGetValue(i, aix[j]);
+							val *= lin3.get(i, aix[j]);
 						kplus.execute2( kbuff, val );
 					}
 				}	
-			ret.quickSetValue(0, 0, kbuff._sum);
-			ret.quickSetValue(0, 1, kbuff._correction);
+			ret.set(0, 0, kbuff._sum);
+			ret.set(0, 1, kbuff._correction);
 		}
 		else //tack+*
 		{
@@ -984,10 +984,10 @@ public class LibMatrixAgg {
 					for( int j=apos; j<apos+alen; j++ ) {
 						int colIx = aix[j];
 						double val1 = avals[j];
-						double val2 = lin2.quickGetValue(i, colIx);
+						double val2 = lin2.get(i, colIx);
 						double val = val1 * val2;
 						if( val != 0 && lin3 != null )
-							val *= lin3.quickGetValue(i, colIx);
+							val *= lin3.get(i, colIx);
 						kbuff._sum = c[colIx];
 						kbuff._correction = c[colIx+n];
 						kplus.execute2( kbuff, val );	
@@ -1042,11 +1042,11 @@ public class LibMatrixAgg {
 					double[] avals = target.sparseBlock.values(0);
 					for( int j=pos; j<pos+len; j++ ) //for each nnz
 					{
-						int g = (int) groups.quickGetValue(aix[j], 0);
+						int g = (int) groups.get(aix[j], 0);
 						if ( g > numGroups )
 							continue;
 						if ( weights != null )
-							w = weights.quickGetValue(aix[j],0);
+							w = weights.get(aix[j],0);
 						aggop.increOp.fn.execute(buffer[g-1][0], avals[j]*w);
 					}
 				}
@@ -1058,11 +1058,11 @@ public class LibMatrixAgg {
 					double d = a[ i ];
 					if( d != 0 ) //sparse-safe
 					{
-						int g = (int) groups.quickGetValue(i, 0);
+						int g = (int) groups.get(i, 0);
 						if ( g > numGroups )
 							continue;
 						if ( weights != null )
-							w = weights.quickGetValue(i,0);
+							w = weights.get(i,0);
 						// buffer is 0-indexed, whereas range of values for g = [1,numGroups]
 						aggop.increOp.fn.execute(buffer[g-1][0], d*w);
 					}
@@ -1077,7 +1077,7 @@ public class LibMatrixAgg {
 				
 				for( int i=0; i < groups.getNumRows(); i++ ) 
 				{
-					int g = (int) groups.quickGetValue(i, 0);
+					int g = (int) groups.get(i, 0);
 					if ( g > numGroups )
 						continue;
 					
@@ -1093,7 +1093,7 @@ public class LibMatrixAgg {
 						for( ; j<pos+len && aix[j]<cu; j++ ) //for each nnz
 						{
 							if ( weights != null )
-								w = weights.quickGetValue(aix[j],0);
+								w = weights.get(aix[j],0);
 							aggop.increOp.fn.execute(buffer[g-1][aix[j]-cl], avals[j]*w);
 						}
 					}
@@ -1103,7 +1103,7 @@ public class LibMatrixAgg {
 			{
 				DenseBlock a = target.getDenseBlock();
 				for( int i=0; i < groups.getNumRows(); i++ ) {
-					int g = (int) groups.quickGetValue(i, 0);
+					int g = (int) groups.get(i, 0);
 					if ( g > numGroups )
 						continue;
 					double[] avals = a.values(i);
@@ -1112,7 +1112,7 @@ public class LibMatrixAgg {
 						double d = avals[ aix+j ];
 						if( d != 0 ) { //sparse-safe
 							if ( weights != null )
-								w = weights.quickGetValue(i,0);
+								w = weights.get(i,0);
 							// buffer is 0-indexed, whereas range of values for g = [1,numGroups]
 							aggop.increOp.fn.execute(buffer[g-1][j-cl], d*w);
 						}
@@ -1147,12 +1147,12 @@ public class LibMatrixAgg {
 				new SideInput(null, target, target.clen));
 			
 			for( int i=0; i < groups.getNumRows(); i++ ) {
-				int g = (int) groups.quickGetValue(i, 0);
+				int g = (int) groups.get(i, 0);
 				if( g > numGroups ) continue;
 				
 				//sparse unsafe correction empty row
 				if( a.isEmpty(i) ){
-					w = (weights != null) ? weights.quickGetValue(i,0) : w;
+					w = (weights != null) ? weights.get(i,0) : w;
 					for( int j=cl; j<cu; j++ )
 						cmFn.execute(cmValues[g-1][j-cl], 0, w);
 					continue;
@@ -1162,7 +1162,7 @@ public class LibMatrixAgg {
 				for( int j=cl; j<cu; j++ ) {
 					double d = sa.getValue(i, j);
 					if ( weights != null )
-						w = weights.quickGetValue(i,0);
+						w = weights.get(i,0);
 					cmFn.execute(cmValues[g-1][j-cl], d, w);
 				}
 			}
@@ -1170,7 +1170,7 @@ public class LibMatrixAgg {
 		else { //DENSE target
 			DenseBlock a = target.getDenseBlock();
 			for( int i=0; i < groups.getNumRows(); i++ ) {
-				int g = (int) groups.quickGetValue(i, 0);
+				int g = (int) groups.get(i, 0);
 				if ( g > numGroups )
 					continue;
 				double[] avals = a.values(i);
@@ -1178,7 +1178,7 @@ public class LibMatrixAgg {
 				for( int j=cl; j<cu; j++ ) {
 					double d = avals[ aix+j ]; //sparse unsafe
 					if ( weights != null )
-						w = weights.quickGetValue(i,0);
+						w = weights.get(i,0);
 					// buffer is 0-indexed, whereas range of values for g = [1,numGroups]
 					cmFn.execute(cmValues[g-1][j-cl], d, w);
 				}
@@ -1309,11 +1309,11 @@ public class LibMatrixAgg {
 				for( int j=apos; j<apos+alen; j++ )
 				{
 					int jix = aix[j];
-					buffer1._sum        = aggVal.quickGetValue(i, jix);
-					buffer1._correction = aggCorr.quickGetValue(i, jix);
+					buffer1._sum        = aggVal.get(i, jix);
+					buffer1._correction = aggCorr.get(i, jix);
 					akplus.execute2(buffer1, avals[j]);
-					aggVal.quickSetValue(i, jix, buffer1._sum);
-					aggCorr.quickSetValue(i, jix, buffer1._correction);
+					aggVal.set(i, jix, buffer1._sum);
+					aggCorr.set(i, jix, buffer1._correction);
 				}
 			}
 		}
@@ -1338,11 +1338,11 @@ public class LibMatrixAgg {
 		for(int i=0, ix=0; i<m; i++)
 			for(int j=0; j<n; j++, ix++)
 			{
-				buffer._sum = aggVal.quickGetValue(i, j);
-				buffer._correction = aggCorr.quickGetValue(i, j);
+				buffer._sum = aggVal.get(i, j);
+				buffer._correction = aggCorr.get(i, j);
 				akplus.execute(buffer, a[ix]);
-				aggVal.quickSetValue(i, j, buffer._sum);
-				aggCorr.quickSetValue(i, j, buffer._correction);
+				aggVal.set(i, j, buffer._sum);
+				aggCorr.set(i, j, buffer._correction);
 			}
 		
 		//note: nnz of aggVal/aggCorr maintained internally 
@@ -1419,12 +1419,12 @@ public class LibMatrixAgg {
 			
 			for( int j=apos; j<apos+alen; j++ ) {
 				int jix = aix[j];
-				double corr = in.quickGetValue(m-1, jix);
-				buffer1._sum        = aggVal.quickGetValue(i, jix);
-				buffer1._correction = aggVal.quickGetValue(m-1, jix);
+				double corr = in.get(m-1, jix);
+				buffer1._sum        = aggVal.get(i, jix);
+				buffer1._correction = aggVal.get(m-1, jix);
 				akplus.execute(buffer1, avals[j], corr);
-				aggVal.quickSetValue(i, jix, buffer1._sum);
-				aggVal.quickSetValue(m-1, jix, buffer1._correction);
+				aggVal.set(i, jix, buffer1._sum);
+				aggVal.set(m-1, jix, buffer1._correction);
 			}
 		}
 	}
@@ -1445,11 +1445,11 @@ public class LibMatrixAgg {
 		for(int i=0, ix=0; i<m; i++, ix+=n)
 			for(int j=0; j<n-1; j++)
 			{
-				buffer._sum = aggVal.quickGetValue(i, j);
-				buffer._correction = aggVal.quickGetValue(i, n-1);
+				buffer._sum = aggVal.get(i, j);
+				buffer._correction = aggVal.get(i, n-1);
 				akplus.execute(buffer, a[ix+j], a[ix+j+1]);
-				aggVal.quickSetValue(i, j, buffer._sum);
-				aggVal.quickSetValue(i, n-1, buffer._correction);
+				aggVal.set(i, j, buffer._sum);
+				aggVal.set(i, n-1, buffer._correction);
 			}
 
 	}
@@ -1480,12 +1480,12 @@ public class LibMatrixAgg {
 				for( int j=apos; j<apos+alen && aix[j]<n-1; j++ )
 				{
 					int jix = aix[j];
-					double corr = in.quickGetValue(i, n-1);
-					buffer1._sum        = aggVal.quickGetValue(i, jix);
-					buffer1._correction = aggVal.quickGetValue(i, n-1);
+					double corr = in.get(i, n-1);
+					buffer1._sum        = aggVal.get(i, jix);
+					buffer1._correction = aggVal.get(i, n-1);
 					akplus.execute(buffer1, avals[j], corr);
-					aggVal.quickSetValue(i, jix, buffer1._sum);
-					aggVal.quickSetValue(i, n-1, buffer1._correction);
+					aggVal.set(i, jix, buffer1._sum);
+					aggVal.set(i, n-1, buffer1._correction);
 				}
 			}
 		}
@@ -1823,7 +1823,7 @@ public class LibMatrixAgg {
 				case MAX_INDEX:
 				default:           val = Double.NaN; break;
 			}
-			out.quickSetValue(0, 0, val);
+			out.set(0, 0, val);
 			return out;
 		}
 		
@@ -1843,7 +1843,7 @@ public class LibMatrixAgg {
 			case MAX_INDEX: {
 				if( ixFn instanceof ReduceCol ) { //ROWINDEXMAX
 					for(int i=0; i<out.rlen; i++) {
-						out.quickSetValue(i, 0, in.clen); //maxindex
+						out.set(i, 0, in.clen); //maxindex
 					}
 				}
 				break;
@@ -1851,31 +1851,31 @@ public class LibMatrixAgg {
 			case MIN_INDEX: {
 				if( ixFn instanceof ReduceCol ) //ROWINDEXMIN
 					for(int i=0; i<out.rlen; i++) {
-						out.quickSetValue(i, 0, in.clen); //minindex
+						out.set(i, 0, in.clen); //minindex
 					}
 				break;
 			}
 			case MEAN: {
 				if( ixFn instanceof ReduceAll ) // MEAN
-					out.quickSetValue(0, 1, in.rlen*in.clen); //count
+					out.set(0, 1, in.rlen*in.clen); //count
 				else if( ixFn instanceof ReduceCol ) //ROWMEAN
 					for( int i=0; i<in.rlen; i++ ) //0-sum and 0-correction 
-						out.quickSetValue(i, 1, in.clen); //count
+						out.set(i, 1, in.clen); //count
 				else if( ixFn instanceof ReduceRow ) //COLMEAN
 					for( int j=0; j<in.clen; j++ ) //0-sum and 0-correction 
-						out.quickSetValue(1, j, in.rlen); //count
+						out.set(1, j, in.rlen); //count
 				break;
 			}
 			case VAR: {
 				// results: { var | mean, count, m2 correction, mean correction }
 				if( ixFn instanceof ReduceAll ) //VAR
-					out.quickSetValue(0, 2, in.rlen*in.clen); //count
+					out.set(0, 2, in.rlen*in.clen); //count
 				else if( ixFn instanceof ReduceCol ) //ROWVAR
 					for( int i=0; i<in.rlen; i++ )
-						out.quickSetValue(i, 2, in.clen); //count
+						out.set(i, 2, in.clen); //count
 				else if( ixFn instanceof ReduceRow ) //COLVAR
 					for( int j=0; j<in.clen; j++ )
-						out.quickSetValue(2, j, in.rlen); //count
+						out.set(2, j, in.rlen); //count
 				break;
 			}
 			case CUM_SUM_PROD:{
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAggUnarySpecialization.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAggUnarySpecialization.java
index 78f6a9a7bb..4a6dd92586 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAggUnarySpecialization.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixAggUnarySpecialization.java
@@ -93,7 +93,7 @@ public class LibMatrixAggUnarySpecialization {
 				tempCellIndex.set(i, j);
 				op.indexFn.execute(tempCellIndex, tempCellIndex);
 				incrementalAggregateUnaryHelp(op.aggOp, result, tempCellIndex.row, tempCellIndex.column,
-					mb.quickGetValue(i, j), buffer);
+					mb.get(i, j), buffer);
 			}
 	}
 
@@ -110,11 +110,11 @@ public class LibMatrixAggUnarySpecialization {
 				else
 					throw new DMLRuntimeException("unrecognized correctionLocation: " + aggOp.correction);
 
-				buffer._sum = result.quickGetValue(row, column);
-				buffer._correction = result.quickGetValue(corRow, corCol);
+				buffer._sum = result.get(row, column);
+				buffer._correction = result.get(corRow, corCol);
 				buffer = (KahanObject) aggOp.increOp.fn.execute(buffer, newvalue);
-				result.quickSetValue(row, column, buffer._sum);
-				result.quickSetValue(corRow, corCol, buffer._correction);
+				result.set(row, column, buffer._sum);
+				result.set(corRow, corCol, buffer._correction);
 			}
 			else if(aggOp.correction == CorrectionLocationType.NONE) {
 				throw new DMLRuntimeException("unrecognized correctionLocation: " + aggOp.correction);
@@ -133,19 +133,19 @@ public class LibMatrixAggUnarySpecialization {
 				}
 				else
 					throw new DMLRuntimeException("unrecognized correctionLocation: " + aggOp.correction);
-				buffer._sum = result.quickGetValue(row, column);
-				buffer._correction = result.quickGetValue(corRow, corCol);
-				double count = result.quickGetValue(countRow, countCol) + 1.0;
+				buffer._sum = result.get(row, column);
+				buffer._correction = result.get(corRow, corCol);
+				double count = result.get(countRow, countCol) + 1.0;
 				buffer = (KahanObject) aggOp.increOp.fn.execute(buffer, newvalue, count);
-				result.quickSetValue(row, column, buffer._sum);
-				result.quickSetValue(corRow, corCol, buffer._correction);
-				result.quickSetValue(countRow, countCol, count);
+				result.set(row, column, buffer._sum);
+				result.set(corRow, corCol, buffer._correction);
+				result.set(countRow, countCol, count);
 			}
 
 		}
 		else {
-			newvalue = aggOp.increOp.fn.execute(result.quickGetValue(row, column), newvalue);
-			result.quickSetValue(row, column, newvalue);
+			newvalue = aggOp.increOp.fn.execute(result.get(row, column), newvalue);
+			result.set(row, column, newvalue);
 		}
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixBincell.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixBincell.java
index 64018b23fe..bec1804caf 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixBincell.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixBincell.java
@@ -881,7 +881,7 @@ public class LibMatrixBincell {
 		int clen = m1.clen;
 		SparseBlock a = m1.sparseBlock;
 		for(int i = 0; i < rlen; i++) {
-			double v2 = m2.quickGetValue(i, 0);
+			double v2 = m2.get(i, 0);
 
 			if((skipEmpty && (a == null || a.isEmpty(i) || v2 == 0)) || ((a == null || a.isEmpty(i)) && v2 == 0)) {
 				continue; // skip empty rows
@@ -935,7 +935,7 @@ public class LibMatrixBincell {
 					// empty left
 					fillZeroValues(op, m2, ret, skipEmpty, i, lastIx + 1, aix[j]);
 					// actual value
-					double v2 = m2.quickGetValue(0, aix[j]);
+					double v2 = m2.get(0, aix[j]);
 					double v = op.fn.execute(avals[j], v2);
 					ret.appendValue(i, aix[j], v);
 					lastIx = aix[j];
@@ -1104,21 +1104,21 @@ public class LibMatrixBincell {
 			for( int i=0; i<rlen; i++ )
 			{
 				//replicate vector value
-				double v2 = m2.quickGetValue(i, 0);
+				double v2 = m2.get(i, 0);
 				if( skipEmpty && v2 == 0 ) //skip zero rows
 					continue;
 				
 				if(isMultiply && v2 == 1) //ROW COPY
 				{
 					for( int j=0; j<clen; j++ ) {
-						double v1 = m1.quickGetValue(i, j);
+						double v1 = m1.get(i, j);
 						ret.appendValue(i, j, v1);
 					}
 				}
 				else //GENERAL CASE
 				{
 					for( int j=0; j<clen; j++ ) {
-						double v1 = m1.quickGetValue(i, j);
+						double v1 = m1.get(i, j);
 						double v = op.fn.execute( v1, v2 );
 						ret.appendValue(i, j, v);
 					}
@@ -1142,7 +1142,7 @@ public class LibMatrixBincell {
 				for( int i=0; i<rlen; i++ ) {
 					c.allocate(i, blen);
 					for( int j=0; j<blen; j++ )
-						c.append(i, bix[j], m1.quickGetValue(i, bix[j]) * bvals[j]);
+						c.append(i, bix[j], m1.get(i, bix[j]) * bvals[j]);
 				}
 				ret.setNonZeros(c.size());
 			}
@@ -1150,8 +1150,8 @@ public class LibMatrixBincell {
 			{
 				for( int i=0; i<rlen; i++ )
 					for( int j=0; j<clen; j++ ) {
-						double v1 = m1.quickGetValue(i, j);
-						double v2 = m2.quickGetValue(0, j); //replicated vector value
+						double v1 = m1.get(i, j);
+						double v2 = m2.get(0, j); //replicated vector value
 						double v = op.fn.execute( v1, v2 );
 						ret.appendValue(i, j, v);
 					}
@@ -1175,9 +1175,9 @@ public class LibMatrixBincell {
 		}
 		else {
 			for(int r=0; r<rlen; r++) {
-				double v1 = m1.quickGetValue(r, 0);
+				double v1 = m1.get(r, 0);
 				for(int c=0; c<clen; c++) {
-					double v2 = m2.quickGetValue(0, c);
+					double v2 = m2.get(0, c);
 					double v = op.fn.execute( v1, v2 );
 					ret.appendValue(r, c, v);
 				}
@@ -1462,7 +1462,7 @@ public class LibMatrixBincell {
 			if( ret.sparse && !b.sparse )
 				ret.sparseBlock.allocate(i, alen);
 			for(int k = apos; k < apos+alen; k++) {
-				double in2 = b.quickGetValue(i, aix[k]);
+				double in2 = b.get(i, aix[k]);
 				if( in2==0 ) continue;
 				double val = op.fn.execute(avals[k], in2);
 				lnnz += (val != 0) ? 1 : 0;
@@ -1479,8 +1479,8 @@ public class LibMatrixBincell {
 		long lnnz = 0;
 		for(int r=rl; r<ru; r++)
 			for(int c=0; c<clen; c++) {
-				double in1 = m1.quickGetValue(r, c);
-				double in2 = m2.quickGetValue(r, c);
+				double in1 = m1.get(r, c);
+				double in2 = m2.get(r, c);
 				if( in1==0 && in2==0) continue;
 				double val = op.fn.execute(in1, in2);
 				lnnz += (val != 0) ? 1 : 0;
@@ -1520,7 +1520,7 @@ public class LibMatrixBincell {
 		for( int bi=0; bi<dc.numBlocks(); bi++ ) {
 			double[] c = dc.valuesAt(bi);
 			for( int r=bi*dc.blockSize(), off=0; r<rlen; r++, off+=clen ) {
-				double value = m1.quickGetValue(r, 0);
+				double value = m1.get(r, 0);
 				int ixPos1 = Arrays.binarySearch(b, value);
 				int ixPos2 = ixPos1;
 				if( ixPos1 >= 0 ) { //match, scan to next val
@@ -1555,9 +1555,9 @@ public class LibMatrixBincell {
 		long lnnz = 0;
 		if( atype == BinaryAccessType.MATRIX_COL_VECTOR ) { //MATRIX - COL_VECTOR
 			for(int r=rl; r<ru; r++) {
-				double v2 = m2.quickGetValue(r, 0);
+				double v2 = m2.get(r, 0);
 				for(int c=0; c<clen; c++) {
-					double v1 = m1.quickGetValue(r, c);
+					double v1 = m1.get(r, c);
 					double v = op.fn.execute( v1, v2 );
 					ret.appendValuePlain(r, c, v);
 					lnnz += (v!=0) ? 1 : 0;
@@ -1567,8 +1567,8 @@ public class LibMatrixBincell {
 		else if( atype == BinaryAccessType.MATRIX_ROW_VECTOR ) { //MATRIX - ROW_VECTOR
 			for(int r=rl; r<ru; r++)
 				for(int c=0; c<clen; c++) {
-					double v1 = m1.quickGetValue(r, c);
-					double v2 = m2.quickGetValue(0, c);
+					double v1 = m1.get(r, c);
+					double v2 = m2.get(0, c);
 					double v = op.fn.execute( v1, v2 );
 					ret.appendValuePlain(r, c, v);
 					lnnz += (v!=0) ? 1 : 0;
@@ -1582,9 +1582,9 @@ public class LibMatrixBincell {
 			} 
 			else {
 				for(int r=rl; r<ru; r++) {
-					double v1 = m1.quickGetValue(r, 0);
+					double v1 = m1.get(r, 0);
 					for(int c=0; c<clen2; c++) {
-						double v2 = m2.quickGetValue(0, c);
+						double v2 = m2.get(0, c);
 						double v = op.fn.execute( v1, v2 );
 						lnnz += (v != 0) ? 1 : 0;
 						ret.appendValuePlain(r, c, v);
@@ -1611,8 +1611,8 @@ public class LibMatrixBincell {
 			else {
 				for(int r=rl; r<ru; r++)
 					for(int c=0; c<clen; c++) {
-						double v1 = m1.quickGetValue(r, c);
-						double v2 = m2.quickGetValue(r, c);
+						double v1 = m1.get(r, c);
+						double v2 = m2.get(r, c);
 						double v = op.fn.execute( v1, v2 );
 						ret.appendValuePlain(r, c, v);
 						lnnz += (v!=0) ? 1 : 0;
@@ -2090,10 +2090,10 @@ public class LibMatrixBincell {
 		final int clen = m1ret.clen;
 		for(int r=0; r<rlen; r++)
 			for(int c=0; c<clen; c++) {
-				double thisvalue = m1ret.quickGetValue(r, c);
-				double thatvalue = m2.quickGetValue(r, c);
+				double thisvalue = m1ret.get(r, c);
+				double thatvalue = m2.get(r, c);
 				double resultvalue = op.fn.execute(thisvalue, thatvalue);
-				m1ret.quickSetValue(r, c, resultvalue);
+				m1ret.set(r, c, resultvalue);
 			}
 	}
 	
@@ -2106,11 +2106,11 @@ public class LibMatrixBincell {
 		{
 			for(int r=0; r<rlen; r++) {
 				//replicated value
-				double v2 = m2.quickGetValue(r, 0);
+				double v2 = m2.get(r, 0);
 				for(int c=0; c<clen; c++) {
-					double v1 = m1ret.quickGetValue(r, c);
+					double v1 = m1ret.get(r, c);
 					double v = op.fn.execute( v1, v2 );
-					m1ret.quickSetValue(r, c, v);
+					m1ret.set(r, c, v);
 				}
 			}
 		}
@@ -2118,20 +2118,20 @@ public class LibMatrixBincell {
 		{
 			for(int r=0; r<rlen; r++)
 				for(int c=0; c<clen; c++) {
-					double v1 = m1ret.quickGetValue(r, c);
-					double v2 = m2.quickGetValue(0, c); //replicated value
+					double v1 = m1ret.get(r, c);
+					double v2 = m2.get(0, c); //replicated value
 					double v = op.fn.execute( v1, v2 );
-					m1ret.quickSetValue(r, c, v);
+					m1ret.set(r, c, v);
 				}
 		}
 		else // MATRIX - MATRIX
 		{
 			for(int r=0; r<rlen; r++)
 				for(int c=0; c<clen; c++) {
-					double v1 = m1ret.quickGetValue(r, c);
-					double v2 = m2.quickGetValue(r, c);
+					double v1 = m1ret.get(r, c);
+					double v2 = m2.get(r, c);
 					double v = op.fn.execute( v1, v2 );
-					m1ret.quickSetValue(r, c, v);
+					m1ret.set(r, c, v);
 				}
 		}
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixCountDistinct.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixCountDistinct.java
index e86b852399..2ce6c9afd3 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixCountDistinct.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixCountDistinct.java
@@ -170,7 +170,7 @@ public interface LibMatrixCountDistinct {
 				}
 			}
 
-			blkOut.setValue(0, 0, distinctCount);
+			blkOut.set(0, 0, distinctCount);
 		} else if (op.getDirection().isRow()) {
 			blkOut = new MatrixBlock(blkIn.getNumRows(), 1, false, blkIn.getNumRows());
 			blkOut.allocateBlock();
@@ -186,7 +186,7 @@ public interface LibMatrixCountDistinct {
 						for (int cix=0; cix<blkIn.getNumColumns(); ++cix) {
 							distinct.add(data[db.pos(rix, cix)]);
 						}
-						blkOut.setValue(rix, 0, distinct.size());
+						blkOut.set(rix, 0, distinct.size());
 					}
 				}
 			} else if (blkIn.getSparseBlock() != null) {
@@ -205,7 +205,7 @@ public interface LibMatrixCountDistinct {
 						distinct.clear();
 						data = sb.values(rix);
 						countDistinctValuesNaive(data, distinct);
-						blkOut.setValue(rix, 0, distinct.size());
+						blkOut.set(rix, 0, distinct.size());
 					}
 				} else if (SparseBlockFactory.isSparseBlockType(sb, SparseBlock.Type.CSR)) {
 					// Casting is safe given if-condition
@@ -225,7 +225,7 @@ public interface LibMatrixCountDistinct {
 						for (int colOffset=0; colOffset<clen; ++colOffset) {
 							distinct.add(data[rpos + colOffset]);
 						}
-						blkOut.setValue(rix, 0, distinct.size());
+						blkOut.set(rix, 0, distinct.size());
 					}
 				} else { // COO
 					if (!(sb instanceof SparseBlockCOO)) {
@@ -249,7 +249,7 @@ public interface LibMatrixCountDistinct {
 						if (i + 1 < rixs.length) {  // rixs[i] != rixs[i + 1]
 							distinct.add(data[i]);
 						}
-						blkOut.setValue(rix, 0, distinct.size());
+						blkOut.set(rix, 0, distinct.size());
 						rix = (i + 1 < rixs.length)? rixs[i + 1] : rix;
 						i++;
 					}
@@ -345,7 +345,7 @@ public interface LibMatrixCountDistinct {
 			}
 			// Fill in output block with column aggregation results
 			for (int cix : distinctValuesByCol.keySet()) {
-				blkOut.setValue(0, cix, distinctValuesByCol.get(cix).size());
+				blkOut.set(0, cix, distinctValuesByCol.get(cix).size());
 			}
 		}
 
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixEquals.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixEquals.java
index 39e5a43980..b89da9bb4e 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixEquals.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixEquals.java
@@ -193,7 +193,7 @@ public class LibMatrixEquals {
 		final int cols = a.getNumColumns();
 		for(int i = 0; i < rows; i++)
 			for(int j = 0; j < cols; j++)
-				if(Math.abs(a.quickGetValue(i, j) - b.quickGetValue(i, j)) > eps)
+				if(Math.abs(a.get(i, j) - b.get(i, j)) > eps)
 					return false;
 		return true;
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java
index 6120e46be1..945901eaf1 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java
@@ -1992,7 +1992,7 @@ public class LibMatrixMult
 				double bval = bvals[j];
 				int bix = bixs[j];
 				for(int i = rl; i < ru; i++) 
-					retV[i *kd + bix] += bval * m1.quickGetValue(i, k);
+					retV[i *kd + bix] += bval * m1.get(i, k);
 			}
 		}
 	}
@@ -2079,10 +2079,10 @@ public class LibMatrixMult
 				double bval = bvals[j];
 				int bix = bixs[j];
 				for(int i = rl; i < ru; i++) {
-					double cvald = bval * m1.quickGetValue(i, k);
+					double cvald = bval * m1.get(i, k);
 					if(cvald != 0) {
-						double cval = ret.quickGetValue(i, bix);
-						ret.quickSetValue(i, bix, cval + cvald);
+						double cval = ret.get(i, bix);
+						ret.set(i, bix, cval + cvald);
 					}
 				}
 			}
@@ -2812,7 +2812,7 @@ public class LibMatrixMult
 				}
 			}
 		}
-		ret.quickSetValue(0, 0, wsloss);
+		ret.set(0, 0, wsloss);
 	}
 
 	private static void matrixMultWSLossSparseDense(MatrixBlock mX, MatrixBlock mU, MatrixBlock mV, MatrixBlock mW, MatrixBlock ret, WeightsType wt, int rl, int ru)
@@ -2847,7 +2847,7 @@ public class LibMatrixMult
 				else {
 					//O(n log m) where n/m is nnz in w/x 
 					for( int k=wpos; k<wpos+wlen; k++ ) {
-						double xi = mX.quickGetValue(i, wix[k]);
+						double xi = mX.get(i, wix[k]);
 						double uvij = dotProduct(uvals, v.values(wix[k]), uix, v.pos(wix[k]), cd);
 						wsloss += wval[k]*(xi-uvij)*(xi-uvij);
 					}
@@ -2894,8 +2894,8 @@ public class LibMatrixMult
 				double[] uvals = u.values(i);
 				int uix = u.pos(i);
 				for( int j=0; j<n; j++ ) {
-					double xij = mX.quickGetValue(i, j);
-					double wij = mW.quickGetValue(i, j);
+					double xij = mX.get(i, j);
+					double wij = mW.get(i, j);
 					double uvij = 0;
 					if( wij != 0 )
 						uvij = dotProduct(uvals, v.values(j), uix, v.pos(j), cd);
@@ -2940,7 +2940,7 @@ public class LibMatrixMult
 			}
 		}
 		
-		ret.quickSetValue(0, 0, wsloss);
+		ret.set(0, 0, wsloss);
 	}
 
 	private static void matrixMultWSLossGeneric (MatrixBlock mX, MatrixBlock mU, MatrixBlock mV, MatrixBlock mW, MatrixBlock ret, WeightsType wt, int rl, int ru)
@@ -2964,7 +2964,7 @@ public class LibMatrixMult
 					double[] wval = w.values(i);
 					for( int k=wpos; k<wpos+wlen; k++ ) {
 						double uvij = dotProductGeneric(mU, mV, i, wix[k], cd);
-						double xi = mX.quickGetValue(i, wix[k]);
+						double xi = mX.get(i, wix[k]);
 						wsloss += wval[k]*(xi-uvij)*(xi-uvij);
 					}
 				}
@@ -2978,7 +2978,7 @@ public class LibMatrixMult
 					for( int j=0; j<n; j++)
 						if( wvals[wix+j] != 0 ) {
 							double uvij = dotProductGeneric(mU, mV, i, j, cd);
-							double xij = mX.quickGetValue(i, j);
+							double xij = mX.get(i, j);
 							wsloss += wvals[wix+j]*(xij-uvij)*(xij-uvij);
 						}
 				}
@@ -3025,8 +3025,8 @@ public class LibMatrixMult
 			// approach: iterate over all cells of X maybe sparse and dense
 			for( int i=rl; i<ru; i++ )
 				for( int j=0; j<n; j++) {
-					double xij = mX.quickGetValue(i, j);
-					double wij = mW.quickGetValue(i, j);
+					double xij = mX.get(i, j);
+					double wij = mW.get(i, j);
 					double uvij = 0;
 					if( wij != 0 )
 						uvij = dotProductGeneric(mU, mV, i, j, cd);
@@ -3071,7 +3071,7 @@ public class LibMatrixMult
 			}
 		}
 
-		ret.quickSetValue(0, 0, wsloss);
+		ret.set(0, 0, wsloss);
 	}
 	
 	private static void addMatrixMultWSLossNoWeightCorrection(MatrixBlock mU, MatrixBlock mV, MatrixBlock ret, int k) {
@@ -3079,7 +3079,7 @@ public class LibMatrixMult
 		MatrixBlock tmp2 = new MatrixBlock(mU.clen, mU.clen, false);
 		matrixMultTransposeSelf(mU, tmp1, true, k);
 		matrixMultTransposeSelf(mV, tmp2, true, k);
-		ret.quickSetValue(0, 0, ret.quickGetValue(0, 0) + 
+		ret.set(0, 0, ret.get(0, 0) + 
 			((tmp1.sparse || tmp2.sparse) ? dotProductGeneric(tmp1, tmp2) :
 			dotProduct(tmp1.getDenseBlockValues(), tmp2.getDenseBlockValues(), mU.clen*mU.clen)));
 	}
@@ -3234,7 +3234,7 @@ public class LibMatrixMult
 		final boolean minus = wt.isMinus();
 		final boolean four = wt.hasFourInputs();
 		final boolean scalar = wt.hasScalar();
-		final double eps = scalar ? mX.quickGetValue(0, 0) : 0;
+		final double eps = scalar ? mX.get(0, 0) : 0;
 		final int cd = mU.clen;
 		
 		DenseBlock w = mW.getDenseBlock();
@@ -3285,7 +3285,7 @@ public class LibMatrixMult
 		final boolean minus = wt.isMinus();
 		final boolean four = wt.hasFourInputs();
 		final boolean scalar = wt.hasScalar();
-		final double eps = scalar ? mX.quickGetValue(0, 0) : 0;
+		final double eps = scalar ? mX.get(0, 0) : 0;
 		final int cd = mU.clen;
 		
 		SparseBlock w = mW.sparseBlock;
@@ -3384,7 +3384,7 @@ public class LibMatrixMult
 		final boolean minus = wt.isMinus();
 		final boolean four = wt.hasFourInputs();
 		final boolean scalar = wt.hasScalar();
-		final double eps = scalar ? mX.quickGetValue(0, 0) : 0;
+		final double eps = scalar ? mX.get(0, 0) : 0;
 		final int cd = mU.clen;
 
 		//output always in dense representation
@@ -3410,7 +3410,7 @@ public class LibMatrixMult
 						ret.appendValue(i, wix[k], uvij);
 					}
 					else if( four ) { //left/right
-						double xij = scalar ? eps : mX.quickGetValue(i, wix[k]);
+						double xij = scalar ? eps : mX.get(i, wix[k]);
 						wdivmm(wval[k], xij, mU, mV, cvals, i, wix[k], left, scalar, cd);
 					}
 					else { //left/right minus/default
@@ -3432,7 +3432,7 @@ public class LibMatrixMult
 							cvals[ix+j] = dotProductGeneric(mU,mV, i, j, cd);
 						}
 						else if( four ) { //left/right
-							double xij = scalar ? eps : mX.quickGetValue(i, j);
+							double xij = scalar ? eps : mX.get(i, j);
 							wdivmm(wvals[ix+j], xij, mU, mV, cvals, i, j, left, scalar, cd);
 						}
 						else { //left/right minus/default
@@ -3475,7 +3475,7 @@ public class LibMatrixMult
 				}
 			}
 		}
-		ret.quickSetValue(0, 0, wceval);
+		ret.set(0, 0, wceval);
 	}
 
 	private static void matrixMultWCeMMSparseDense(MatrixBlock mW, MatrixBlock mU, MatrixBlock mV, double eps, MatrixBlock ret, WCeMMType wt, int rl, int ru)
@@ -3517,7 +3517,7 @@ public class LibMatrixMult
 				}
 			}
 		}
-		ret.quickSetValue(0, 0, wceval);
+		ret.set(0, 0, wceval);
 	}
 
 	private static void matrixMultWCeMMGeneric(MatrixBlock mW, MatrixBlock mU, MatrixBlock mV, double eps, MatrixBlock ret, WCeMMType wt, int rl, int ru)
@@ -3558,7 +3558,7 @@ public class LibMatrixMult
 			}
 		}
 
-		ret.quickSetValue(0, 0, wceval);
+		ret.set(0, 0, wceval);
 	}
 
 	private static void matrixMultWuMMDense(MatrixBlock mW, MatrixBlock mU, MatrixBlock mV, MatrixBlock ret, WUMMType wt, ValueFunction fn, int rl, int ru) {
@@ -4276,7 +4276,7 @@ public class LibMatrixMult
 		
 		//compute final mm
 		for( int k2=0; k2<len; k2++ )
-			c[cix+k2] += b.quickGetValue(bix, k2) * wtmp;
+			c[cix+k2] += b.get(bix, k2) * wtmp;
 	}
 
 	private static void wdivmm( final double wij, final double xij, MatrixBlock u, MatrixBlock v, double[] c, final int uix, final int vix, final boolean left, final boolean scalar, final int len )
@@ -4294,7 +4294,7 @@ public class LibMatrixMult
 		
 		//compute final mm
 		for( int k2=0; k2<len; k2++ )
-			c[cix+k2] += b.quickGetValue(bix, k2) * wtmp;
+			c[cix+k2] += b.get(bix, k2) * wtmp;
 	}
 
 	private static double wumm( final double wij, double[] u, double[] v, final int uix, final int vix, final boolean flagmult, ValueFunction fn, final int len ) {
@@ -4323,7 +4323,7 @@ public class LibMatrixMult
 	{
 		double val = 0;
 		for( int k2=0; k2<len; k2++ )
-			val += a.quickGetValue(ai, k2) * b.quickGetValue(bi, k2);
+			val += a.get(ai, k2) * b.get(bi, k2);
 		
 		return val;
 	}
@@ -4333,7 +4333,7 @@ public class LibMatrixMult
 		double val = 0;
 		for( int i=0; i<a.getNumRows(); i++ )
 			for( int j=0; j<a.getNumColumns(); j++ )
-				val += a.quickGetValue(i, j) * b.quickGetValue(i, j);
+				val += a.get(i, j) * b.get(i, j);
 		
 		return val;
 	}
@@ -4637,7 +4637,7 @@ public class LibMatrixMult
 		double val = 0;
 		for(Future<Double> task : tasks)
 			val += task.get();
-		ret.quickSetValue(0, 0, val);
+		ret.set(0, 0, val);
 	}
 
 	@SuppressWarnings("unused")
@@ -4870,7 +4870,7 @@ public class LibMatrixMult
 			else
 				matrixMultWSLossGeneric(_mX, _mU, _mV, _mW, _ret, _wt, _rl, _ru);
 
-			return _ret.quickGetValue(0, 0);
+			return _ret.get(0, 0);
 		}
 	}
 
@@ -4989,7 +4989,7 @@ public class LibMatrixMult
 				matrixMultWCeMMGeneric(_mW, _mU, _mV, _eps, _ret, _wt, _rl, _ru);
 			
 			
-			return _ret.quickGetValue(0, 0);
+			return _ret.get(0, 0);
 		}
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixOuterAgg.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixOuterAgg.java
index 330d8563f9..657d57a70b 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixOuterAgg.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixOuterAgg.java
@@ -369,9 +369,9 @@ public class LibMatrixOuterAgg
 		int agg0 = sumRowSumLtGeColSumGtLe(0.0, bv, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int cnt = (ai == 0) ? agg0: sumRowSumLtGeColSumGtLe(ai, bv, bOp);
-			out.quickSetValue(i, 0, cnt);
+			out.set(i, 0, cnt);
 		}
 	}
 	
@@ -387,9 +387,9 @@ public class LibMatrixOuterAgg
 		int agg0 = sumRowSumGtLeColSumLtGe(0.0, bv, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int cnt = (ai == 0) ? agg0: sumRowSumGtLeColSumLtGe(ai, bv, bOp);
-			out.quickSetValue(i, 0, cnt);
+			out.set(i, 0, cnt);
 		}
 	}
 	
@@ -406,9 +406,9 @@ public class LibMatrixOuterAgg
 		int agg0 = sumEqNe(0.0, bv, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int cnt = (ai == 0) ? agg0: sumEqNe(ai, bv, bOp);
-			out.quickSetValue(i, 0, cnt);
+			out.set(i, 0, cnt);
 		}
 	}
 
@@ -471,10 +471,10 @@ public class LibMatrixOuterAgg
 		int agg0 = sumRowSumLtGeColSumGtLe(0.0, bv, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int cnt = (ai == 0) ? agg0: sumRowSumLtGeColSumGtLe(ai, bv, bOp);
-			cnt += (int)out.quickGetValue(0, 0);
-			out.quickSetValue(0, 0, cnt);
+			cnt += (int)out.get(0, 0);
+			out.set(0, 0, cnt);
 		}
 	}
 	
@@ -491,10 +491,10 @@ public class LibMatrixOuterAgg
 		int m = in.rlen;
 		
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int cnt = (ai == 0) ? agg0: sumRowSumGtLeColSumLtGe(ai, bv, bOp);
-			cnt += (int)out.quickGetValue(0, 0);
-			out.quickSetValue(0, 0, cnt);
+			cnt += (int)out.get(0, 0);
+			out.set(0, 0, cnt);
 		}
 	}
 	
@@ -511,10 +511,10 @@ public class LibMatrixOuterAgg
 		int agg0 = sumEqNe(0.0, bv, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int cnt = (ai == 0) ? agg0: sumEqNe(ai, bv, bOp);
-			cnt += (int)out.quickGetValue(0, 0);
-			out.quickSetValue(0, 0, cnt);
+			cnt += (int)out.get(0, 0);
+			out.set(0, 0, cnt);
 		}
 	}
 
@@ -531,9 +531,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uarimaxLt(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uarimaxLt(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -550,9 +550,9 @@ public class LibMatrixOuterAgg
 		int m = in.rlen;
 		
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uarimaxLe(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -569,9 +569,9 @@ public class LibMatrixOuterAgg
 		int m = in.rlen;
 		
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uarimaxGt(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -588,9 +588,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uarimaxGe(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uarimaxGe(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -607,9 +607,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uarimaxEq(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uarimaxEq(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 
@@ -628,9 +628,9 @@ public class LibMatrixOuterAgg
 		int m = in.rlen;
 		
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uarimaxNe(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 
@@ -647,9 +647,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uariminLt(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uariminLt(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -665,9 +665,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uariminLe(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uariminLe(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -683,9 +683,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uariminGt(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uariminGt(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -703,9 +703,9 @@ public class LibMatrixOuterAgg
 		int m = in.rlen;
 		
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uariminGe(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 	
@@ -722,9 +722,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uariminEq(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uariminEq(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 
@@ -742,9 +742,9 @@ public class LibMatrixOuterAgg
 		int ind0 = uariminNe(0.0, bv, bvi, bOp);
 		int m = in.rlen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(i, 0);
+			double ai = in.get(i, 0);
 			int ind = (ai == 0) ? ind0: uariminNe(ai, bv, bvi, bOp);
-			out.quickSetValue(i, 0, ind);
+			out.set(i, 0, ind);
 		}
 	}
 
@@ -761,9 +761,9 @@ public class LibMatrixOuterAgg
 		int agg0 = sumRowSumGtLeColSumLtGe(0.0, bv, bOp);
 		int m = in.clen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(0, i);
+			double ai = in.get(0, i);
 			int cnt = (ai == 0) ? agg0: sumRowSumGtLeColSumLtGe(ai, bv, bOp);
-			out.quickSetValue(0, i, cnt);
+			out.set(0, i, cnt);
 		}
 	}
 
@@ -797,7 +797,7 @@ public class LibMatrixOuterAgg
 			double [] avals = sblock.values(j);
 			for (int i=apos; i < apos+alen; i++) {
 				int cnt = sumRowSumGtLeColSumLtGe(avals[i], bv, bOp);
-				out.quickSetValue(0, aix[i], cnt);
+				out.set(0, aix[i], cnt);
 			}
 		}
 	}
@@ -814,9 +814,9 @@ public class LibMatrixOuterAgg
 		int agg0 = sumRowSumLtGeColSumGtLe(0.0, bv, bOp);
 		int m = in.clen;
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(0, i);
+			double ai = in.get(0, i);
 			int cnt = (ai == 0) ? agg0: sumRowSumLtGeColSumGtLe(ai, bv, bOp);
-			out.quickSetValue(0, i, cnt);
+			out.set(0, i, cnt);
 		}
 	}
 
@@ -850,7 +850,7 @@ public class LibMatrixOuterAgg
 			double [] avals = sblock.values(j);
 			for (int i=apos; i < apos+alen; i++) {
 				int cnt = sumRowSumLtGeColSumGtLe(avals[i], bv, bOp);
-				out.quickSetValue(0, aix[i], cnt);
+				out.set(0, aix[i], cnt);
 			}
 		}
 	}
@@ -868,9 +868,9 @@ public class LibMatrixOuterAgg
 		int m = in.clen;
 		
 		for( int i=0; i<m; i++ ) {
-			double ai = in.quickGetValue(0, i);
+			double ai = in.get(0, i);
 			int cnt = (ai == 0) ? agg0: sumEqNe(ai, bv, bOp);
-			out.quickSetValue(0, i, cnt);
+			out.set(0, i, cnt);
 		}
 	}
 
@@ -904,7 +904,7 @@ public class LibMatrixOuterAgg
 			double [] avals = sblock.values(j);
 			for (int i=apos; i < apos+alen; i++) {
 				int cnt = sumEqNe(avals[i], bv, bOp);
-				out.quickSetValue(0, aix[i], cnt);
+				out.set(0, aix[i], cnt);
 			}
 		}
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixReorg.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixReorg.java
index 49bb2a82b3..fba185a5c4 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixReorg.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixReorg.java
@@ -500,7 +500,7 @@ public class LibMatrixReorg {
 		double[] values = new double[rlen];
 		for( int i=0; i<rlen; i++ ) {
 			vix[i] = i;
-			values[i] = in.quickGetValue(i, by[0]-1);
+			values[i] = in.get(i, by[0]-1);
 		}
 
 		// step 4: split the data into number of blocks of PAR_NUMCELL_THRESHOLD_SORT (1024) elements.
@@ -726,7 +726,7 @@ public class LibMatrixReorg {
 			long clen = linData.getNumColumns();
 			
 			for( int i=0; i<linOffset.getNumRows(); i++ ) {
-				long rix = (long)linOffset.quickGetValue(i, 0);
+				long rix = (long)linOffset.get(i, 0);
 				if( rix <= 0 || rix > rlen ) //skip empty row / cut-off rows
 					continue;
 				
@@ -753,7 +753,7 @@ public class LibMatrixReorg {
 			long clen = len;
 			
 			for( int i=0; i<linOffset.getNumColumns(); i++ ) {
-				long cix = (long)linOffset.quickGetValue(0, i);
+				long cix = (long)linOffset.get(0, i);
 				if( cix <= 0 || cix > clen ) //skip empty col / cut-off cols
 					continue;
 				
@@ -2212,7 +2212,7 @@ public class LibMatrixReorg {
 					cix = new int[(int)in.nonZeros];
 					vals = new double[(int)in.nonZeros];
 					for( int i=0, pos=0; i<rlen; i++ ) {
-						double val = in.quickGetValue(i, 0);
+						double val = in.get(i, 0);
 						if( val != 0 ) {
 							cix[pos] = i;
 							vals[pos] = val;
@@ -2228,7 +2228,7 @@ public class LibMatrixReorg {
 				out.allocateBlock();
 				SparseBlock sblock = out.sparseBlock;
 				for(int i=0; i<rlen; i++) {
-					double val = in.quickGetValue(i, 0);
+					double val = in.get(i, 0);
 					if( val != 0 ) {
 						sblock.allocate(i, 1);
 						sblock.append(i, i, val);
@@ -2238,7 +2238,7 @@ public class LibMatrixReorg {
 		}
 		else { //DENSE
 			for( int i=0; i<rlen; i++ ) {
-				double val = in.quickGetValue(i, 0);
+				double val = in.get(i, 0);
 				if( val != 0 )
 					out.appendValue(i, i, val);
 			}
@@ -2262,7 +2262,7 @@ public class LibMatrixReorg {
 		int rlen = in.rlen;
 		int nnz = 0;
 		for( int i=0; i<rlen; i++ ) {
-			double val = in.quickGetValue(i, i);
+			double val = in.get(i, i);
 			if( val != 0 ) {
 				c.set(i, 0, val);
 				nnz++;
@@ -3241,7 +3241,7 @@ public class LibMatrixReorg {
 		for( int i=rl; i<ru; i++ )
 		{
 			//get value and cast if necessary (table)
-			double val = in.quickGetValue(i, 0);
+			double val = in.get(i, 0);
 			if( cast )
 				val = UtilFunctions.toLong(val);
 			
@@ -3281,7 +3281,7 @@ public class LibMatrixReorg {
 		}
 		else if( in.sparse ){ //SPARSE
 			for( int i=0; i<len; i++ )
-				tmp[i] = in.quickGetValue(ixin+i, 0);
+				tmp[i] = in.get(ixin+i, 0);
 		}
 		else { //DENSE
 			System.arraycopy(in.getDenseBlockValues(), ixin, tmp, 0, len);
@@ -3373,7 +3373,7 @@ public class LibMatrixReorg {
 				double old = values[i];
 				//extract values of next column
 				for(int j=i; j<i+len+1; j++)
-					values[j] = in.quickGetValue(vix[j], by[off]-1);
+					values[j] = in.get(vix[j], by[off]-1);
 				//sort values, incl recursive decent
 				SortUtils.sortByValue(i, i+len+1, values, vix);
 				if( off+1 < by.length )
@@ -3397,7 +3397,7 @@ public class LibMatrixReorg {
 				if( off < by.length ) {
 					//extract values of next column
 					for(int j=i; j<i+len+1; j++)
-						values[j] = in.quickGetValue(vix[j], by[off]-1);
+						values[j] = in.get(vix[j], by[off]-1);
 					sortIndexesStable(i, i+len+1, values, vix, in, by, off+1);
 				}
 				else //unstable sort of run indexes (equal value guaranteed)
@@ -3474,12 +3474,11 @@ public class LibMatrixReorg {
 		}
 
 		@Override
-		public int compare(Integer arg0, Integer arg1) 
-		{			
-			double val0 = _mb.quickGetValue(arg0, _col);
-			double val1 = _mb.quickGetValue(arg1, _col);			
+		public int compare(Integer arg0, Integer arg1) {
+			double val0 = _mb.get(arg0, _col);
+			double val1 = _mb.get(arg1, _col);
 			return (val0 < val1 ? -1 : (val0 == val1 ? 0 : 1));
-		}		
+		}
 	}
 
 
@@ -3528,8 +3527,8 @@ public class LibMatrixReorg {
 		@Override
 		public int compare(Integer arg0, Integer arg1) 
 		{			
-			double val0 = _mb.quickGetValue(arg0, _col);
-			double val1 = _mb.quickGetValue(arg1, _col);	
+			double val0 = _mb.get(arg0, _col);
+			double val1 = _mb.get(arg1, _col);
 			return (val0 > val1 ? -1 : (val0 == val1 ? 0 : 1));
 		}		
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixSketch.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixSketch.java
index 43a4c1bc5a..346651bdd0 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixSketch.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixSketch.java
@@ -44,7 +44,7 @@ public class LibMatrixSketch {
 				// obtain set of unique items (dense input vector)
 				HashSet<Double> hashSet = new HashSet<>();
 				for( int i=0; i<rlen; i++ ) {
-					hashSet.add(blkIn.quickGetValue(i, 0));
+					hashSet.add(blkIn.get(i, 0));
 				}
 				
 				// allocate output block and place values
@@ -52,7 +52,7 @@ public class LibMatrixSketch {
 				blkOut = new MatrixBlock(rlen2, 1, false).allocateBlock();
 				Iterator<Double> iter = hashSet.iterator();
 				for( int i=0; i<rlen2; i++ ) {
-					blkOut.quickSetValue(i, 0, iter.next());
+					blkOut.set(i, 0, iter.next());
 				}
 				break;
 
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixTercell.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixTercell.java
index 48123c3847..72aa51ed5c 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixTercell.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixTercell.java
@@ -48,9 +48,9 @@ public class LibMatrixTercell
 		final boolean s1 = (m1.rlen==1 && m1.clen==1);
 		final boolean s2 = (m2.rlen==1 && m2.clen==1);
 		final boolean s3 = (m3.rlen==1 && m3.clen==1);
-		final double d1 = s1 ? m1.quickGetValue(0, 0) : Double.NaN;
-		final double d2 = s2 ? m2.quickGetValue(0, 0) : Double.NaN;
-		final double d3 = s3 ? m3.quickGetValue(0, 0) : Double.NaN;
+		final double d1 = s1 ? m1.get(0, 0) : Double.NaN;
+		final double d2 = s2 ? m2.get(0, 0) : Double.NaN;
+		final double d3 = s3 ? m3.get(0, 0) : Double.NaN;
 		
 		//allocate dense/sparse output
 		ret.allocateBlock();
@@ -94,9 +94,9 @@ public class LibMatrixTercell
 		long lnnz = 0;
 		for( int i=rl; i<ru; i++ )
 			for( int j=0; j<n; j++ ) {
-				double in1 = s1 ? d1 : m1.quickGetValue(i, j);
-				double in2 = s2 ? d2 : m2.quickGetValue(i, j);
-				double in3 = s3 ? d3 : m3.quickGetValue(i, j);
+				double in1 = s1 ? d1 : m1.get(i, j);
+				double in2 = s2 ? d2 : m2.get(i, j);
+				double in3 = s3 ? d3 : m3.get(i, j);
 				double val = op.fn.execute(in1, in2, in3);
 				lnnz += (val != 0) ? 1 : 0;
 				ret.appendValuePlain(i, j, val);
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixBlock.java b/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixBlock.java
index 6538158d2c..6b57f845c3 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixBlock.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixBlock.java
@@ -681,28 +681,9 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		//get iterator over sparse block
 		return sparseBlock.getIterator(rl, ru);
 	}
-	
-	@Override
-	public double getValue(int r, int c) 
-	{
-		//matrix bounds check 
-		if( r >= rlen || c >= clen )
-			throw new RuntimeException("indexes ("+r+","+c+") out of range ("+rlen+","+clen+")");
-		
-		return quickGetValue(r, c);
-	}
-	
-	@Override
-	public void setValue(int r, int c, double v) 
-	{
-		//matrix bounds check 
-		if( r >= rlen || c >= clen )
-			throw new RuntimeException("indexes ("+r+","+c+") out of range ("+rlen+","+clen+")");
 
-		quickSetValue(r, c, v);
-	}
-
-	public double quickGetValue(int r, int c) {
+	@Override
+	public double get(int r, int c) {
 		if( sparse && sparseBlock!=null )
 			return sparseBlock.get(r, c);
 		else if( !sparse && denseBlock!=null )
@@ -710,7 +691,8 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		return 0;
 	}
 
-	public void quickSetValue(int r, int c, double v) 
+	@Override
+	public void set(int r, int c, double v) 
 	{
 		if(sparse) {
 			//early abort
@@ -742,7 +724,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		}
 	}
 
-	public void quickSetRow(int r, double[] values){
+	public void setRow(int r, double[] values){
 		if(sparse)
 			throw new NotImplementedException();
 		else{
@@ -752,24 +734,6 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			denseBlock.set(r, values);
 		}
 	}
-
-	public double quickGetValueThreadSafe(int r, int c) {
-		if(sparse) {
-			if(!(sparseBlock instanceof SparseBlockMCSR))
-				throw new RuntimeException("Only MCSR Blocks are supported for Multithreaded sparse get.");
-			synchronized (sparseBlock.get(r)) {
-				return sparseBlock.get(r,c);
-			}
-		}
-		else
-			return denseBlock.get(r,c);
-	}
-
-	public double getValueDenseUnsafe(int r, int c) {
-		if(denseBlock==null)
-			return 0;
-		return denseBlock.get(r, c);
-	}
 	
 	public boolean containsValue(double pattern) {
 		return containsValue(pattern, 1);
@@ -899,7 +863,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			int[] cols = row.indexes();
 			double[] vals = row.values();
 			for(int i=0; i<row.size(); i++)
-				quickSetValue(r, cols[i], vals[i]);
+				set(r, cols[i], vals[i]);
 		}
 	}
 
@@ -1005,7 +969,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		double min = Double.POSITIVE_INFINITY;
 		for( int i=0; i<rlen; i++ )
 			for( int j=0; j<clen; j++ ){
-				double val = quickGetValue(i, j);
+				double val = get(i, j);
 				if( val != 0 )
 					min = Math.min(min, val);
 			}
@@ -1022,7 +986,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		MatrixBlock out = new MatrixBlock(1, 1, false);
 		LibMatrixAgg.aggregateUnaryMatrix(this, out,
 			InstructionUtils.parseBasicAggregateUnaryOperator("ua*", 1));
-		return out.quickGetValue(0, 0);
+		return out.get(0, 0);
 	}
 	
 	/**
@@ -1038,7 +1002,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		MatrixBlock out = new MatrixBlock(1, 3, false);
 		LibMatrixAgg.aggregateUnaryMatrix(this, out,
 			InstructionUtils.parseBasicAggregateUnaryOperator("uamean", k));
-		return out.quickGetValue(0, 0);
+		return out.get(0, 0);
 	}
 
 	/**
@@ -1054,7 +1018,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		MatrixBlock out = new MatrixBlock(1, 1, false);
 		LibMatrixAgg.aggregateUnaryMatrix(this, out,
 			InstructionUtils.parseBasicAggregateUnaryOperator("uamin", k));
-		return out.quickGetValue(0, 0);
+		return out.get(0, 0);
 	}
 
 	/**
@@ -1091,7 +1055,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 	 * @return the maximum value of all values in the matrix
 	 */
 	public double max() {
-		return max(1).quickGetValue(0,0);
+		return max(1).get(0,0);
 	}
 
 	/**
@@ -1184,7 +1148,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		//execute operation
 		MatrixBlock out = new MatrixBlock(1, 2, false);
 		LibMatrixAgg.aggregateUnaryMatrix(this, out, auop);
-		return out.quickGetValue(0, 0);
+		return out.get(0, 0);
 	}
 
 	////////
@@ -3165,9 +3129,9 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		final boolean s1 = (r1 == 1 && c1 == 1);
 		final boolean s2 = (r2 == 1 && c2 == 1);
 		final boolean s3 = (r3 == 1 && c3 == 1);
-		final double d1 = s1 ? quickGetValue(0, 0) : Double.NaN;
-		final double d2 = s2 ? m2.quickGetValue(0, 0) : Double.NaN;
-		final double d3 = s3 ? m3.quickGetValue(0, 0) : Double.NaN;
+		final double d1 = s1 ? get(0, 0) : Double.NaN;
+		final double d2 = s2 ? m2.get(0, 0) : Double.NaN;
+		final double d3 = s3 ? m3.get(0, 0) : Double.NaN;
 		final int m = Math.max(Math.max(r1, r2), r3);
 		final int n = Math.max(Math.max(c1, c2), c3);
 		final long nnz = nonZeros;
@@ -3188,7 +3152,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			}
 			else {
 				//fill output with given scalar value
-				double tmpVal = tmp.quickGetValue(0, 0);
+				double tmpVal = tmp.get(0, 0);
 				if( tmpVal != 0 ) {
 					ret.allocateDenseBlock();
 					ret.denseBlock.set(tmpVal);
@@ -3257,12 +3221,12 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			for(int r=0; r<rlen; r++)
 				for(int c=0; c<clen; c++)
 				{
-					buffer._sum=this.quickGetValue(r, c);
-					buffer._correction=cor.quickGetValue(0, c);
-					buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.quickGetValue(r, c), 
-							newWithCor.quickGetValue(r+1, c));
-					quickSetValue(r, c, buffer._sum);
-					cor.quickSetValue(0, c, buffer._correction);
+					buffer._sum=this.get(r, c);
+					buffer._correction=cor.get(0, c);
+					buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.get(r, c), 
+							newWithCor.get(r+1, c));
+					set(r, c, buffer._sum);
+					cor.set(0, c, buffer._correction);
 				}
 		}
 		else if(aggOp.correction==CorrectionLocationType.LASTCOLUMN) {
@@ -3282,20 +3246,20 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 					// very similar blocks of special-case code. If one block is
 					// modified, the other needs to be changed to match.
 					for(int r=0; r<rlen; r++){
-						double currMaxValue = cor.quickGetValue(r, 0);
-						long newMaxIndex = (long)newWithCor.quickGetValue(r, 0);
-						double newMaxValue = newWithCor.quickGetValue(r, 1);
+						double currMaxValue = cor.get(r, 0);
+						long newMaxIndex = (long)newWithCor.get(r, 0);
+						double newMaxValue = newWithCor.get(r, 1);
 						double update = aggOp.increOp.fn.execute(newMaxValue, currMaxValue);
 						
 						if (2.0 == update) {
 							// Return value of 2 ==> both values the same, break ties
 							// in favor of higher index.
-							long curMaxIndex = (long) quickGetValue(r,0);
-							quickSetValue(r, 0, Math.max(curMaxIndex, newMaxIndex));
+							long curMaxIndex = (long) get(r,0);
+							set(r, 0, Math.max(curMaxIndex, newMaxIndex));
 						} else if(1.0 == update){
 							// Return value of 1 ==> new value is better; use its index
-							quickSetValue(r, 0, newMaxIndex);
-							cor.quickSetValue(r, 0, newMaxValue);
+							set(r, 0, newMaxIndex);
+							cor.set(r, 0, newMaxValue);
 						} else {
 							// Other return value ==> current answer is best
 						}
@@ -3305,11 +3269,11 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 					for(int r=0; r<rlen; r++)
 						for(int c=0; c<clen; c++)
 						{
-							buffer._sum=this.quickGetValue(r, c);
-							buffer._correction=cor.quickGetValue(r, 0);
-							buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.quickGetValue(r, c), newWithCor.quickGetValue(r, c+1));
-							quickSetValue(r, c, buffer._sum);
-							cor.quickSetValue(r, 0, buffer._correction);
+							buffer._sum=this.get(r, c);
+							buffer._correction=cor.get(r, 0);
+							buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.get(r, c), newWithCor.get(r, c+1));
+							set(r, c, buffer._sum);
+							cor.set(r, 0, buffer._correction);
 						}
 				}
 		}
@@ -3336,11 +3300,11 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 							for( int j=bpos; j<bpos+blen; j++)
 							{
 								int c = bix[j];
-								buffer._sum = this.quickGetValue(r, c);
-								buffer._correction = cor.quickGetValue(r, c);
+								buffer._sum = this.get(r, c);
+								buffer._correction = cor.get(r, c);
 								buffer = (KahanObject) aggOp.increOp.fn.execute(buffer, bvals[j]);
-								quickSetValue(r, c, buffer._sum);
-								cor.quickSetValue(r, c, buffer._correction);
+								set(r, c, buffer._sum);
+								cor.set(r, c, buffer._correction);
 							}
 						}
 					}
@@ -3350,11 +3314,11 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 				{
 					for(int r=0; r<rlen; r++)
 						for(int c=0; c<clen; c++) {
-							buffer._sum=this.quickGetValue(r, c);
-							buffer._correction=cor.quickGetValue(r, c);
-							buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.quickGetValue(r, c));
-							quickSetValue(r, c, buffer._sum);
-							cor.quickSetValue(r, c, buffer._correction);
+							buffer._sum=this.get(r, c);
+							buffer._correction=cor.get(r, c);
+							buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.get(r, c));
+							set(r, c, buffer._sum);
+							cor.set(r, c, buffer._correction);
 						}
 				}
 			
@@ -3368,17 +3332,17 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			for(int r=0; r<rlen; r++)
 				for(int c=0; c<clen; c++)
 				{
-					buffer._sum=this.quickGetValue(r, c);
-					n=cor.quickGetValue(0, c);
-					buffer._correction=cor.quickGetValue(1, c);
-					mu2=newWithCor.quickGetValue(r, c);
-					n2=newWithCor.quickGetValue(r+1, c);
+					buffer._sum=this.get(r, c);
+					n=cor.get(0, c);
+					buffer._correction=cor.get(1, c);
+					mu2=newWithCor.get(r, c);
+					n2=newWithCor.get(r+1, c);
 					n=n+n2;
 					double toadd=(mu2-buffer._sum)*n2/n;
 					buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, toadd);
-					quickSetValue(r, c, buffer._sum);
-					cor.quickSetValue(0, c, n);
-					cor.quickSetValue(1, c, buffer._correction);
+					set(r, c, buffer._sum);
+					cor.set(0, c, n);
+					cor.set(1, c, buffer._correction);
 				}
 		}
 		else if(aggOp.correction==CorrectionLocationType.LASTTWOCOLUMNS) {
@@ -3386,17 +3350,17 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			for(int r=0; r<rlen; r++)
 				for(int c=0; c<clen; c++)
 				{
-					buffer._sum=this.quickGetValue(r, c);
-					n=cor.quickGetValue(r, 0);
-					buffer._correction=cor.quickGetValue(r, 1);
-					mu2=newWithCor.quickGetValue(r, c);
-					n2=newWithCor.quickGetValue(r, c+1);
+					buffer._sum=this.get(r, c);
+					n=cor.get(r, 0);
+					buffer._correction=cor.get(r, 1);
+					mu2=newWithCor.get(r, c);
+					n2=newWithCor.get(r, c+1);
 					n=n+n2;
 					double toadd=(mu2-buffer._sum)*n2/n;
 					buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, toadd);
-					quickSetValue(r, c, buffer._sum);
-					cor.quickSetValue(r, 0, n);
-					cor.quickSetValue(r, 1, buffer._correction);
+					set(r, c, buffer._sum);
+					cor.set(r, 0, n);
+					cor.set(r, 1, buffer._correction);
 				}
 		}
 		else if (aggOp.correction == CorrectionLocationType.LASTFOURROWS
@@ -3411,30 +3375,30 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 				for (int c=0; c<clen; c++) {
 					// extract current values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_curr.w = cor.quickGetValue(1, c); // count
-					cbuff_curr.m2._sum = quickGetValue(r, c) * (cbuff_curr.w - 1); // m2
-					cbuff_curr.mean._sum = cor.quickGetValue(0, c); // mean
-					cbuff_curr.m2._correction = cor.quickGetValue(2, c);
-					cbuff_curr.mean._correction = cor.quickGetValue(3, c);
+					cbuff_curr.w = cor.get(1, c); // count
+					cbuff_curr.m2._sum = get(r, c) * (cbuff_curr.w - 1); // m2
+					cbuff_curr.mean._sum = cor.get(0, c); // mean
+					cbuff_curr.m2._correction = cor.get(2, c);
+					cbuff_curr.mean._correction = cor.get(3, c);
 
 					// extract partial values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_part.w = newWithCor.quickGetValue(r+2, c); // count
-					cbuff_part.m2._sum = newWithCor.quickGetValue(r, c) * (cbuff_part.w - 1); // m2
-					cbuff_part.mean._sum = newWithCor.quickGetValue(r+1, c); // mean
-					cbuff_part.m2._correction = newWithCor.quickGetValue(r+3, c);
-					cbuff_part.mean._correction = newWithCor.quickGetValue(r+4, c);
+					cbuff_part.w = newWithCor.get(r+2, c); // count
+					cbuff_part.m2._sum = newWithCor.get(r, c) * (cbuff_part.w - 1); // m2
+					cbuff_part.mean._sum = newWithCor.get(r+1, c); // mean
+					cbuff_part.m2._correction = newWithCor.get(r+3, c);
+					cbuff_part.mean._correction = newWithCor.get(r+4, c);
 
 					// calculate incremental aggregated variance
 					cbuff_curr = (CM_COV_Object) aggOp.increOp.fn.execute(cbuff_curr, cbuff_part);
 
 					// store updated values: { var | mean, count, m2 correction, mean correction }
 					double var = cbuff_curr.getRequiredResult(AggregateOperationTypes.VARIANCE);
-					quickSetValue(r, c, var);
-					cor.quickSetValue(0, c, cbuff_curr.mean._sum); // mean
-					cor.quickSetValue(1, c, cbuff_curr.w); // count
-					cor.quickSetValue(2, c, cbuff_curr.m2._correction);
-					cor.quickSetValue(3, c, cbuff_curr.mean._correction);
+					set(r, c, var);
+					cor.set(0, c, cbuff_curr.mean._sum); // mean
+					cor.set(1, c, cbuff_curr.w); // count
+					cor.set(2, c, cbuff_curr.m2._correction);
+					cor.set(3, c, cbuff_curr.mean._correction);
 				}
 		}
 		else if (aggOp.correction == CorrectionLocationType.LASTFOURCOLUMNS
@@ -3449,30 +3413,30 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 				for (int c=0; c<clen; c++) {
 					// extract current values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_curr.w = cor.quickGetValue(r, 1); // count
-					cbuff_curr.m2._sum = quickGetValue(r, c) * (cbuff_curr.w - 1); // m2
-					cbuff_curr.mean._sum = cor.quickGetValue(r, 0); // mean
-					cbuff_curr.m2._correction = cor.quickGetValue(r, 2);
-					cbuff_curr.mean._correction = cor.quickGetValue(r, 3);
+					cbuff_curr.w = cor.get(r, 1); // count
+					cbuff_curr.m2._sum = get(r, c) * (cbuff_curr.w - 1); // m2
+					cbuff_curr.mean._sum = cor.get(r, 0); // mean
+					cbuff_curr.m2._correction = cor.get(r, 2);
+					cbuff_curr.mean._correction = cor.get(r, 3);
 
 					// extract partial values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_part.w = newWithCor.quickGetValue(r, c+2); // count
-					cbuff_part.m2._sum = newWithCor.quickGetValue(r, c) * (cbuff_part.w - 1); // m2
-					cbuff_part.mean._sum = newWithCor.quickGetValue(r, c+1); // mean
-					cbuff_part.m2._correction = newWithCor.quickGetValue(r, c+3);
-					cbuff_part.mean._correction = newWithCor.quickGetValue(r, c+4);
+					cbuff_part.w = newWithCor.get(r, c+2); // count
+					cbuff_part.m2._sum = newWithCor.get(r, c) * (cbuff_part.w - 1); // m2
+					cbuff_part.mean._sum = newWithCor.get(r, c+1); // mean
+					cbuff_part.m2._correction = newWithCor.get(r, c+3);
+					cbuff_part.mean._correction = newWithCor.get(r, c+4);
 
 					// calculate incremental aggregated variance
 					cbuff_curr = (CM_COV_Object) aggOp.increOp.fn.execute(cbuff_curr, cbuff_part);
 
 					// store updated values: { var | mean, count, m2 correction, mean correction }
 					double var = cbuff_curr.getRequiredResult(AggregateOperationTypes.VARIANCE);
-					quickSetValue(r, c, var);
-					cor.quickSetValue(r, 0, cbuff_curr.mean._sum); // mean
-					cor.quickSetValue(r, 1, cbuff_curr.w); // count
-					cor.quickSetValue(r, 2, cbuff_curr.m2._correction);
-					cor.quickSetValue(r, 3, cbuff_curr.mean._correction);
+					set(r, c, var);
+					cor.set(r, 0, cbuff_curr.mean._sum); // mean
+					cor.set(r, 1, cbuff_curr.w); // count
+					cor.set(r, 2, cbuff_curr.m2._correction);
+					cor.set(r, 3, cbuff_curr.mean._correction);
 				}
 		}
 		else
@@ -3496,12 +3460,12 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 				for(int r=0; r<rlen-1; r++)
 					for(int c=0; c<clen; c++)
 					{
-						buffer._sum=this.quickGetValue(r, c);
-						buffer._correction=this.quickGetValue(r+1, c);
-						buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.quickGetValue(r, c), 
-								newWithCor.quickGetValue(r+1, c));
-						quickSetValue(r, c, buffer._sum);
-						quickSetValue(r+1, c, buffer._correction);
+						buffer._sum=this.get(r, c);
+						buffer._correction=this.get(r+1, c);
+						buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.get(r, c), 
+								newWithCor.get(r+1, c));
+						set(r, c, buffer._sum);
+						set(r+1, c, buffer._correction);
 					}
 			}	
 		}
@@ -3524,20 +3488,20 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 				// very similar blocks of special-case code. If one block is
 				// modified, the other needs to be changed to match.
 				for(int r = 0; r < rlen; r++){
-					double currMaxValue = quickGetValue(r, 1);
-					long newMaxIndex = (long)newWithCor.quickGetValue(r, 0);
-					double newMaxValue = newWithCor.quickGetValue(r, 1);
+					double currMaxValue = get(r, 1);
+					long newMaxIndex = (long)newWithCor.get(r, 0);
+					double newMaxValue = newWithCor.get(r, 1);
 					double update = aggOp.increOp.fn.execute(newMaxValue, currMaxValue);
 	
 					if (2.0 == update) {
 						// Return value of 2 ==> both values the same, break ties
 						// in favor of higher index.
-						long curMaxIndex = (long) quickGetValue(r,0);
-						quickSetValue(r, 0, Math.max(curMaxIndex, newMaxIndex));
+						long curMaxIndex = (long) get(r,0);
+						set(r, 0, Math.max(curMaxIndex, newMaxIndex));
 					} else if(1.0 == update){
 						// Return value of 1 ==> new value is better; use its index
-						quickSetValue(r, 0, newMaxIndex);
-						quickSetValue(r, 1, newMaxValue);
+						set(r, 0, newMaxIndex);
+						set(r, 1, newMaxValue);
 					} else {
 						// Other return value ==> current answer is best
 					}
@@ -3553,11 +3517,11 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 					for(int r=0; r<rlen; r++)
 						for(int c=0; c<clen-1; c++)
 						{
-							buffer._sum=this.quickGetValue(r, c);
-							buffer._correction=this.quickGetValue(r, c+1);
-							buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.quickGetValue(r, c), newWithCor.quickGetValue(r, c+1));
-							quickSetValue(r, c, buffer._sum);
-							quickSetValue(r, c+1, buffer._correction);
+							buffer._sum=this.get(r, c);
+							buffer._correction=this.get(r, c+1);
+							buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, newWithCor.get(r, c), newWithCor.get(r, c+1));
+							set(r, c, buffer._sum);
+							set(r, c+1, buffer._correction);
 						}
 				}
 			}
@@ -3568,17 +3532,17 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			for(int r=0; r<rlen-2; r++)
 				for(int c=0; c<clen; c++)
 				{
-					buffer._sum=this.quickGetValue(r, c);
-					n=this.quickGetValue(r+1, c);
-					buffer._correction=this.quickGetValue(r+2, c);
-					mu2=newWithCor.quickGetValue(r, c);
-					n2=newWithCor.quickGetValue(r+1, c);
+					buffer._sum=this.get(r, c);
+					n=this.get(r+1, c);
+					buffer._correction=this.get(r+2, c);
+					mu2=newWithCor.get(r, c);
+					n2=newWithCor.get(r+1, c);
 					n=n+n2;
 					double toadd=(mu2-buffer._sum)*n2/n;
 					buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, toadd);
-					quickSetValue(r, c, buffer._sum);
-					quickSetValue(r+1, c, n);
-					quickSetValue(r+2, c, buffer._correction);
+					set(r, c, buffer._sum);
+					set(r+1, c, n);
+					set(r+2, c, buffer._correction);
 				}
 			
 		}else if(aggOp.correction==CorrectionLocationType.LASTTWOCOLUMNS)
@@ -3587,17 +3551,17 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			for(int r=0; r<rlen; r++)
 				for(int c=0; c<clen-2; c++)
 				{
-					buffer._sum=this.quickGetValue(r, c);
-					n=this.quickGetValue(r, c+1);
-					buffer._correction=this.quickGetValue(r, c+2);
-					mu2=newWithCor.quickGetValue(r, c);
-					n2=newWithCor.quickGetValue(r, c+1);
+					buffer._sum=this.get(r, c);
+					n=this.get(r, c+1);
+					buffer._correction=this.get(r, c+2);
+					mu2=newWithCor.get(r, c);
+					n2=newWithCor.get(r, c+1);
 					n=n+n2;
 					double toadd=(mu2-buffer._sum)*n2/n;
 					buffer=(KahanObject) aggOp.increOp.fn.execute(buffer, toadd);
-					quickSetValue(r, c, buffer._sum);
-					quickSetValue(r, c+1, n);
-					quickSetValue(r, c+2, buffer._correction);
+					set(r, c, buffer._sum);
+					set(r, c+1, n);
+					set(r, c+2, buffer._correction);
 				}
 		}
 		else if (aggOp.correction == CorrectionLocationType.LASTFOURROWS
@@ -3612,30 +3576,30 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 				for (int c=0; c<clen; c++) {
 					// extract current values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_curr.w = quickGetValue(r+2, c); // count
-					cbuff_curr.m2._sum = quickGetValue(r, c) * (cbuff_curr.w - 1); // m2
-					cbuff_curr.mean._sum = quickGetValue(r+1, c); // mean
-					cbuff_curr.m2._correction = quickGetValue(r+3, c);
-					cbuff_curr.mean._correction = quickGetValue(r+4, c);
+					cbuff_curr.w = get(r+2, c); // count
+					cbuff_curr.m2._sum = get(r, c) * (cbuff_curr.w - 1); // m2
+					cbuff_curr.mean._sum = get(r+1, c); // mean
+					cbuff_curr.m2._correction = get(r+3, c);
+					cbuff_curr.mean._correction = get(r+4, c);
 
 					// extract partial values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_part.w = newWithCor.quickGetValue(r+2, c); // count
-					cbuff_part.m2._sum = newWithCor.quickGetValue(r, c) * (cbuff_part.w - 1); // m2
-					cbuff_part.mean._sum = newWithCor.quickGetValue(r+1, c); // mean
-					cbuff_part.m2._correction = newWithCor.quickGetValue(r+3, c);
-					cbuff_part.mean._correction = newWithCor.quickGetValue(r+4, c);
+					cbuff_part.w = newWithCor.get(r+2, c); // count
+					cbuff_part.m2._sum = newWithCor.get(r, c) * (cbuff_part.w - 1); // m2
+					cbuff_part.mean._sum = newWithCor.get(r+1, c); // mean
+					cbuff_part.m2._correction = newWithCor.get(r+3, c);
+					cbuff_part.mean._correction = newWithCor.get(r+4, c);
 
 					// calculate incremental aggregated variance
 					cbuff_curr = (CM_COV_Object) aggOp.increOp.fn.execute(cbuff_curr, cbuff_part);
 
 					// store updated values: { var | mean, count, m2 correction, mean correction }
 					double var = cbuff_curr.getRequiredResult(AggregateOperationTypes.VARIANCE);
-					quickSetValue(r, c, var);
-					quickSetValue(r+1, c, cbuff_curr.mean._sum); // mean
-					quickSetValue(r+2, c, cbuff_curr.w); // count
-					quickSetValue(r+3, c, cbuff_curr.m2._correction);
-					quickSetValue(r+4, c, cbuff_curr.mean._correction);
+					set(r, c, var);
+					set(r+1, c, cbuff_curr.mean._sum); // mean
+					set(r+2, c, cbuff_curr.w); // count
+					set(r+3, c, cbuff_curr.m2._correction);
+					set(r+4, c, cbuff_curr.mean._correction);
 				}
 		}
 		else if (aggOp.correction == CorrectionLocationType.LASTFOURCOLUMNS
@@ -3650,30 +3614,30 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 				for (int c=0; c<clen-4; c++) {
 					// extract current values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_curr.w = quickGetValue(r, c+2); // count
-					cbuff_curr.m2._sum = quickGetValue(r, c) * (cbuff_curr.w - 1); // m2
-					cbuff_curr.mean._sum = quickGetValue(r, c+1); // mean
-					cbuff_curr.m2._correction = quickGetValue(r, c+3);
-					cbuff_curr.mean._correction = quickGetValue(r, c+4);
+					cbuff_curr.w = get(r, c+2); // count
+					cbuff_curr.m2._sum = get(r, c) * (cbuff_curr.w - 1); // m2
+					cbuff_curr.mean._sum = get(r, c+1); // mean
+					cbuff_curr.m2._correction = get(r, c+3);
+					cbuff_curr.mean._correction = get(r, c+4);
 
 					// extract partial values: { var | mean, count, m2 correction, mean correction }
 					// note: m2 = var * (n - 1)
-					cbuff_part.w = newWithCor.quickGetValue(r, c+2); // count
-					cbuff_part.m2._sum = newWithCor.quickGetValue(r, c) * (cbuff_part.w - 1); // m2
-					cbuff_part.mean._sum = newWithCor.quickGetValue(r, c+1); // mean
-					cbuff_part.m2._correction = newWithCor.quickGetValue(r, c+3);
-					cbuff_part.mean._correction = newWithCor.quickGetValue(r, c+4);
+					cbuff_part.w = newWithCor.get(r, c+2); // count
+					cbuff_part.m2._sum = newWithCor.get(r, c) * (cbuff_part.w - 1); // m2
+					cbuff_part.mean._sum = newWithCor.get(r, c+1); // mean
+					cbuff_part.m2._correction = newWithCor.get(r, c+3);
+					cbuff_part.mean._correction = newWithCor.get(r, c+4);
 
 					// calculate incremental aggregated variance
 					cbuff_curr = (CM_COV_Object) aggOp.increOp.fn.execute(cbuff_curr, cbuff_part);
 
 					// store updated values: { var | mean, count, m2 correction, mean correction }
 					double var = cbuff_curr.getRequiredResult(AggregateOperationTypes.VARIANCE);
-					quickSetValue(r, c, var);
-					quickSetValue(r, c+1, cbuff_curr.mean._sum); // mean
-					quickSetValue(r, c+2, cbuff_curr.w); // count
-					quickSetValue(r, c+3, cbuff_curr.m2._correction);
-					quickSetValue(r, c+4, cbuff_curr.mean._correction);
+					set(r, c, var);
+					set(r, c+1, cbuff_curr.mean._sum); // mean
+					set(r, c+2, cbuff_curr.w); // count
+					set(r, c+3, cbuff_curr.m2._correction);
+					set(r, c+4, cbuff_curr.mean._correction);
 				}
 		}
 		else
@@ -4033,7 +3997,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			}
 		}
 		else {
-			ret.quickSetValue(0, 0, init);
+			ret.set(0, 0, init);
 		}
 		
 		return ret;
@@ -4235,7 +4199,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 
 		if(rl==ru && cl==cu) { //specific case: cell update
 			//copy single value and update nnz
-			result.quickSetValue(rl, cl, src.quickGetValue(0, 0));
+			result.set(rl, cl, src.get(0, 0));
 		}
 		else { //general case
 			//handle csr sparse blocks separately to avoid repeated shifting on column-wise access
@@ -4302,7 +4266,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 					DEFAULT_INPLACE_SPARSEBLOCK, ret.sparseBlock, false);
 		}
 		
-		ret.quickSetValue(rl, cl, inVal);
+		ret.set(rl, cl, inVal);
 		return ret;
 	}
 	
@@ -4906,11 +4870,11 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		if( wtflag ) // w/ weights
 		{
 			for ( int i=0; i<rlen; i++ ) {
-				d = quickGetValue(i,0);
-				w = wts.quickGetValue(i,0);
+				d = get(i,0);
+				w = wts.get(i,0);
 				if ( d != 0 ) {
-					tdw.quickSetValue(ind, 0, d);
-					tdw.quickSetValue(ind, 1, w);
+					tdw.set(ind, 0, d);
+					tdw.set(ind, 1, w);
 					ind++;
 				}
 				else
@@ -4921,16 +4885,16 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		{
 			zero_wt = getNumRows() - getNonZeros();
 			for( int i=0; i<rlen; i++ ) {
-				d = quickGetValue(i,0);
+				d = get(i,0);
 				if( d != 0 ){
-					tdw.quickSetValue(ind, 0, d);
-					tdw.quickSetValue(ind, 1, 1);
+					tdw.set(ind, 0, d);
+					tdw.set(ind, 1, 1);
 					ind++;
 				}
 			}
 		}
-		tdw.quickSetValue(0, 0, 0.0);
-		tdw.quickSetValue(0, 1, zero_wt); //num zeros in input
+		tdw.set(0, 0, 0.0);
+		tdw.set(0, 1, zero_wt); //num zeros in input
 		
 		// Sort td and tw based on values inside td (ascending sort), incl copy into result
 		SortIndex sfn = new SortIndex(1, false, false);
@@ -4952,20 +4916,20 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		// find q25 as sum of weights (but excluding from mean)
 		double psum = 0; int i = -1;
 		while(psum < q25i && i < getNumRows())
-			psum += quickGetValue(++i, 1);
+			psum += get(++i, 1);
 		double q25Part = psum-q25d; 
-		double q25Val = quickGetValue(i, 0);
+		double q25Val = get(i, 0);
 		
 		// compute mean and find q75 as sum of weights (including in mean)
 		double sum = 0;
 		while(psum < q75i && i < getNumRows()) {
-			double v1 = quickGetValue(++i, 0);
-			double v2 = quickGetValue(i, 1);
+			double v1 = get(++i, 0);
+			double v2 = get(i, 1);
 			psum += v2;
 			sum += v1 * v2;
 		}
 		double q75Part = psum-q75d;
-		double q75Val = quickGetValue(i, 0);
+		double q75Val = get(i, 0);
 		
 		//compute final IQM, incl. correction for q25 and q75 portions 
 		return computeIQMCorrection(sum, sum_wt, q25Part, q25Val, q75Part, q75Val);
@@ -4992,7 +4956,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			output.reset(qs.rlen, qs.clen, false);
 		
 		for ( int i=0; i < qs.rlen; i++ ) {
-			output.quickSetValue(i, 0, this.pickValue(qs.quickGetValue(i,0)) );
+			output.set(i, 0, this.pickValue(qs.get(i,0)) );
 		}
 		
 		return output;
@@ -5018,33 +4982,33 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		int t = 0, i=-1;
 		do {
 			i++;
-			t += quickGetValue(i,1);
+			t += get(i,1);
 		} while(t<pos && i < getNumRows());
 		
-		if ( quickGetValue(i,1) != 0 ) {
+		if ( get(i,1) != 0 ) {
 			// i^th value is present in the data set, simply return it
 			if ( average ) {
 				if(pos < t) {
-					return quickGetValue(i,0);
+					return get(i,0);
 				}
-				if(quickGetValue(i+1,1) != 0)
-					return (quickGetValue(i,0)+quickGetValue(i+1,0))/2;
+				if(get(i+1,1) != 0)
+					return (get(i,0)+get(i+1,0))/2;
 				else
 					// (i+1)^th value is 0. So, fetch (i+2)^th value
-					return (quickGetValue(i,0)+quickGetValue(i+2,0))/2;
+					return (get(i,0)+get(i+2,0))/2;
 			}
 			else 
-				return quickGetValue(i, 0);
+				return get(i, 0);
 		}
 		else {
 			// i^th value is not present in the data set. 
 			// It can only happen in the case where i^th value is 0.0; and 0.0 is not present in the data set (but introduced by sort).
 			if ( i+1 < getNumRows() )
 				// when 0.0 is not the last element in the sorted order
-				return quickGetValue(i+1,0);
+				return get(i+1,0);
 			else
 				// when 0.0 is the last element in the sorted order (input data is all negative)
-				return quickGetValue(i-1,0);
+				return get(i-1,0);
 		}
 	}
 	
@@ -5057,7 +5021,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 	public double sumWeightForQuantile() {
 		double sum_wt = 0;
 		for (int i=0; i < getNumRows(); i++ ) {
-			double tmp = quickGetValue(i, 1);
+			double tmp = get(i, 1);
 			sum_wt += tmp;
 			
 			// test all values not just final sum_wt to ensure that non-integer weights
@@ -5407,8 +5371,8 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		//(because input values of 0 are invalid and have to result in errors) 
 		for( int i=0; i<rlen; i++ )
 			for( int j=0; j<clen; j++ ) {
-				double v1 = this.quickGetValue(i, j);
-				double w = that2.quickGetValue(i, j);
+				double v1 = this.get(i, j);
+				double w = that2.get(i, j);
 				ctable.execute(v1, v2, w, false, resultMap, resultBlock);
 			}
 		
@@ -5437,7 +5401,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		//(because input values of 0 are invalid and have to result in errors) 
 		for( int i=0; i<rlen; i++ )
 			for( int j=0; j<clen; j++ ) {
-				double v1 = this.quickGetValue(i, j);
+				double v1 = this.get(i, j);
 				ctable.execute(v1, v2, w, false, resultMap, resultBlock);
 			}
 		
@@ -5464,7 +5428,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		//(because input values of 0 are invalid and have to result in errors) 
 		for( int i=0; i<rlen; i++ )
 			for( int j=0; j<clen; j++ ) {
-				double v1 = this.quickGetValue(i, j);
+				double v1 = this.get(i, j);
 				if( left )
 					ctable.execute(offset+i+1, v1, w, false, resultMap, resultBlock);
 				else
@@ -5529,8 +5493,8 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			//(because input values of 0 are invalid and have to result in errors) 
 			for( int i=0; i<rlen; i++ )
 				for( int j=0; j<clen; j++ ) {
-					double v1 = this.quickGetValue(i, j);
-					double v2 = that.quickGetValue(i, j);
+					double v1 = this.get(i, j);
+					double v2 = that.get(i, j);
 					ctable.execute(v1, v2, w, ignoreZeros, resultMap, resultBlock);
 				}
 		}
@@ -5563,7 +5527,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		//each row in resultBlock will be allocated and will contain exactly one value
 		int maxCol = 0;
 		for( int i=0; i<rlen; i++ ) {
-			double v2 = that.quickGetValue(i, 0);
+			double v2 = that.get(i, 0);
 			maxCol = ctable.execute(i+1, v2, w, maxCol, indexes, values);
 			rptr[i] = i;
 		}
@@ -5632,9 +5596,9 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			else {
 				for(int i = 0; i < rlen; i++)
 					for(int j = 0; j < clen; j++) {
-						double v1 = this.quickGetValue(i, j);
-						double v2 = that.quickGetValue(i, j);
-						double w = that2.quickGetValue(i, j);
+						double v1 = this.get(i, j);
+						double v2 = that.get(i, j);
+						double w = that2.get(i, j);
 						ctable.execute(v1, v2, w, false, resultMap);
 					}
 			}
@@ -5644,9 +5608,9 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 			for( int i=0; i<rlen; i++ )
 				for( int j=0; j<clen; j++ )
 				{
-					double v1 = this.quickGetValue(i, j);
-					double v2 = that.quickGetValue(i, j);
-					double w = that2.quickGetValue(i, j);
+					double v1 = this.get(i, j);
+					double v2 = that.get(i, j);
+					double w = that2.get(i, j);
 					ctable.execute(v1, v2, w, false, resultBlock);
 				}
 			resultBlock.recomputeNonZeros();
@@ -5704,7 +5668,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 		}
 		else if( qop.wtype4 != null ){ //wcemm
 			MatrixBlock W = qop.wtype4.hasFourInputs() ? checkType(wm) : null;
-			double eps = (W != null && W.getNumRows() == 1 && W.getNumColumns() == 1) ? W.quickGetValue(0, 0) : qop.getScalar();
+			double eps = (W != null && W.getNumRows() == 1 && W.getNumColumns() == 1) ? W.get(0, 0) : qop.getScalar();
 			
 			if( k > 1 )
 				LibMatrixMult.matrixMultWCeMM(X, U, V, eps, R, qop.wtype4, k);
@@ -6021,7 +5985,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 
 
 	public double getDouble(int r, int c){
-		return quickGetValue(r, c);
+		return get(r, c);
 	}
 
 	@Override
@@ -6030,7 +5994,7 @@ public class MatrixBlock extends MatrixValue implements CacheBlock<MatrixBlock>,
 	}
 
 	public String getString(int r, int c){
-		double v = quickGetValue(r, c);
+		double v = get(r, c);
 		// NaN gets converted to null here since check for null is faster than string comp
 		if(Double.isNaN(v))
 			return null;
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixCell.java b/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixCell.java
index 5c9685d158..f892766796 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixCell.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixCell.java
@@ -109,7 +109,7 @@ public class MatrixCell extends MatrixValue implements Serializable
 	}
 
 	@Override
-	public double getValue(int r, int c) {
+	public double get(int r, int c) {
 		return value;
 	}
 
@@ -154,8 +154,8 @@ public class MatrixCell extends MatrixValue implements Serializable
 	}
 
 	@Override
-	public void setValue(int r, int c, double v) {
-		value=v;	
+	public void set(int r, int c, double v) {
+		value=v;
 	}
 
 	@Override
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixValue.java b/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixValue.java
index a1e567547c..fc8ffd2728 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixValue.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/MatrixValue.java
@@ -84,8 +84,8 @@ public abstract class MatrixValue implements WritableComparable
 	public abstract int getNumColumns();
 	public abstract long getNonZeros();
 
-	public abstract void setValue(int r, int c, double v);
-	public abstract double getValue(int r, int c);
+	public abstract void set(int r, int c, double v);
+	public abstract double get(int r, int c);
 
 	public abstract boolean isInSparseFormat();
 	public abstract boolean isEmpty();
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/CountDistinctSketch.java b/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/CountDistinctSketch.java
index 47e7d0a50b..9e5ac9ae62 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/CountDistinctSketch.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/CountDistinctSketch.java
@@ -47,8 +47,8 @@ public abstract class CountDistinctSketch implements MatrixSketch {
 
 	protected void validateSketchMetadata(MatrixBlock corrBlock) {
 		// (nHashes, k, D) row vector
-		if(corrBlock.getNumColumns() < 3 || corrBlock.getValue(0, 0) < 0 || corrBlock.getValue(0, 1) < 0 ||
-			corrBlock.getValue(0, 2) < 0) {
+		if(corrBlock.getNumColumns() < 3 || corrBlock.get(0, 0) < 0 
+			|| corrBlock.get(0, 1) < 0 || corrBlock.get(0, 2) < 0) {
 			throw new DMLRuntimeException("Sketch metadata is corrupt");
 		}
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinct/CountDistinctFunctionSketch.java b/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinct/CountDistinctFunctionSketch.java
index 3a3df2a5f9..27789fb852 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinct/CountDistinctFunctionSketch.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinct/CountDistinctFunctionSketch.java
@@ -51,10 +51,10 @@ public class CountDistinctFunctionSketch extends CountDistinctSketch {
 
 		long res = 0;
 		for (int i=0; i<blkInCorr.getNumRows(); ++i) {
-			res += blkInCorr.getValue(i, 1);
+			res += blkInCorr.get(i, 1);
 		}
 
-		blkOut.setValue(0, 0, res);
+		blkOut.set(0, 0, res);
 		return blkOut;
 	}
 
@@ -65,7 +65,7 @@ public class CountDistinctFunctionSketch extends CountDistinctSketch {
 
 		if (R == 1 && R == C) {
 			MatrixBlock blkOutCorr = new MatrixBlock(1, 2, false);
-			blkOutCorr.setValue(0, 1, 1);
+			blkOutCorr.set(0, 1, 1);
 			return new CorrMatrixBlock(blkIn, blkOutCorr);
 		}
 
@@ -97,8 +97,8 @@ public class CountDistinctFunctionSketch extends CountDistinctSketch {
 		int maxColumns = (int) Math.pow(OptimizerUtils.DEFAULT_BLOCKSIZE, 2);
 		for (int i=0; i<R; ++i) {
 			for (int j=0; j<C; ++j) {
-				short key = (short) extractRightKBitsFromIndex((long) blkIn.getValue(i, j), 52, 12);
-				long value = extractRightKBitsFromIndex((long) blkIn.getValue(i, j), 0, 52);
+				short key = (short) extractRightKBitsFromIndex((long) blkIn.get(i, j), 52, 12);
+				long value = extractRightKBitsFromIndex((long) blkIn.get(i, j), 0, 52);
 
 				// Update bit map with new (key, value)
 				Set<Long> fractions = bitMap.getOrDefault(key, new HashSet<>());
@@ -135,12 +135,12 @@ public class CountDistinctFunctionSketch extends CountDistinctSketch {
 		for (short key : bitMap.keySet()) {
 			Set<Long> fractions = bitMap.get(key);
 
-			blkOut.setValue(i, 0, key);
-			blkOut.setValue(i, 1, fractions.size());
+			blkOut.set(i, 0, key);
+			blkOut.set(i, 1, fractions.size());
 
 			int j = 2;
 			for (long fraction : fractions) {
-				blkOut.setValue(i, j, fraction);
+				blkOut.set(i, j, fraction);
 				++j;
 			}
 
@@ -155,13 +155,13 @@ public class CountDistinctFunctionSketch extends CountDistinctSketch {
 
 		// row_i: [exponent_i, N_i, fraction_i0, fraction_i1, .., fraction_iN, 0, .., 0]
 		for (int i=0; i<R; ++i) {
-			short key = (short) blkIn.getValue(i, 0);
+			short key = (short) blkIn.get(i, 0);
 			Set<Long> fractions = bitMap.getOrDefault(key, new HashSet<>());
 
-			int C = (int) blkIn.getValue(i, 1);
+			int C = (int) blkIn.get(i, 1);
 			int j = 0;
 			while (j < C) {
-				long fraction = (long) blkIn.getValue(i, j + 2);
+				long fraction = (long) blkIn.get(i, j + 2);
 				fractions.add(fraction);
 				++j;
 			}
diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinctapprox/KMVSketch.java b/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinctapprox/KMVSketch.java
index 9c76d9a8f5..29d1706f9e 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinctapprox/KMVSketch.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/sketch/countdistinctapprox/KMVSketch.java
@@ -102,11 +102,11 @@ public class KMVSketch extends CountDistinctSketch {
 			SmallestPriorityQueue spq = new SmallestPriorityQueue(k);
 			for (int i=0; i<blkIn.getNumRows(); ++i) {
 				for (int j=0; j<blkIn.getNumColumns(); ++j) {
-					spq.add(blkIn.getValue(i, j));
+					spq.add(blkIn.get(i, j));
 				}
 
 				long res = countDistinctValuesKMV(spq, k, M, D);
-				resultMatrix.setValue(i, 0, res);
+				resultMatrix.set(i, 0, res);
 
 				spq.clear();
 			}
@@ -125,11 +125,11 @@ public class KMVSketch extends CountDistinctSketch {
 			SmallestPriorityQueue spq = new SmallestPriorityQueue(k);
 			for (int j=0; j<blkIn.getNumColumns(); ++j) {
 				for (int i=0; i<blkIn.getNumRows(); ++i) {
-					spq.add(blkIn.getValue(i, j));
+					spq.add(blkIn.get(i, j));
 				}
 
 				long res = countDistinctValuesKMV(spq, k, M, D);
-				resultMatrix.setValue(0, j, res);
+				resultMatrix.set(0, j, res);
 
 				spq.clear();
 			}
@@ -252,15 +252,15 @@ public class KMVSketch extends CountDistinctSketch {
 
 		double kthSmallestHash;
 		if(op.getDirection().isRow() || op.getDirection().isRowCol()) {
-			kthSmallestHash = blkIn.getValue(idx, 0);
+			kthSmallestHash = blkIn.get(idx, 0);
 		}
 		else { // op.getDirection().isCol()
-			kthSmallestHash = blkIn.getValue(0, idx);
+			kthSmallestHash = blkIn.get(0, idx);
 		}
 
-		double nHashes = blkInCorr.getValue(idx, 0);
-		double k = blkInCorr.getValue(idx, 1);
-		double D = blkInCorr.getValue(idx, 2);
+		double nHashes = blkInCorr.get(idx, 0);
+		double k = blkInCorr.get(idx, 1);
+		double D = blkInCorr.get(idx, 2);
 
 		double D2 = D * D;
 		double M = (D2 > Integer.MAX_VALUE) ? Integer.MAX_VALUE : D2;
@@ -279,10 +279,10 @@ public class KMVSketch extends CountDistinctSketch {
 		}
 
 		if(op.getDirection().isRow() || op.getDirection().isRowCol()) {
-			blkOut.setValue(idx, 0, ceilEstimate);
+			blkOut.set(idx, 0, ceilEstimate);
 		}
 		else { // op.getDirection().isCol()
-			blkOut.setValue(0, idx, ceilEstimate);
+			blkOut.set(0, idx, ceilEstimate);
 		}
 	}
 
@@ -368,9 +368,9 @@ public class KMVSketch extends CountDistinctSketch {
 			// getMatrixValue() will short circuit and return 1 if nHashes = 0
 
 			// (nHashes, k, D) row matrix
-			sketchMetaMB.setValue(idx, 0, 0);
-			sketchMetaMB.setValue(idx, 1, k);
-			sketchMetaMB.setValue(idx, 2, D);
+			sketchMetaMB.set(idx, 0, 0);
+			sketchMetaMB.set(idx, 1, k);
+			sketchMetaMB.set(idx, 2, D);
 
 			return;
 		}
@@ -385,21 +385,21 @@ public class KMVSketch extends CountDistinctSketch {
 		while(!spq.isEmpty()) {
 			double toInsert = spq.poll();
 			if(op.getDirection().isRow()) {
-				sketchMB.setValue(idx, i, toInsert);
+				sketchMB.set(idx, i, toInsert);
 			}
 			else if(op.getDirection().isCol()) {
-				sketchMB.setValue(i, idx, toInsert);
+				sketchMB.set(i, idx, toInsert);
 			}
 			else {
-				sketchMB.setValue(idx, i, toInsert);
+				sketchMB.set(idx, i, toInsert);
 			}
 			++i;
 		}
 
 		// Last column contains the correction
-		sketchMetaMB.setValue(idx, 0, nHashes);
-		sketchMetaMB.setValue(idx, 1, k);
-		sketchMetaMB.setValue(idx, 2, D);
+		sketchMetaMB.set(idx, 0, nHashes);
+		sketchMetaMB.set(idx, 1, k);
+		sketchMetaMB.set(idx, 2, D);
 	}
 
 	@Override
@@ -494,13 +494,13 @@ public class KMVSketch extends CountDistinctSketch {
 		MatrixBlock combined = blkOut.getValue();
 		MatrixBlock combinedCorr = blkOut.getCorrection();
 
-		double nHashes0 = corr0.getValue(idx, 0);
-		double k0 = corr0.getValue(idx, 1);
-		double D0 = corr0.getValue(idx, 2);
+		double nHashes0 = corr0.get(idx, 0);
+		double k0 = corr0.get(idx, 1);
+		double D0 = corr0.get(idx, 2);
 
-		double nHashes1 = corr1.getValue(idx, 0);
-		double k1 = corr1.getValue(idx, 1);
-		double D1 = corr1.getValue(idx, 2);
+		double nHashes1 = corr1.get(idx, 0);
+		double k1 = corr1.get(idx, 1);
+		double D1 = corr1.get(idx, 2);
 
 		double nHashes = Math.max(nHashes0, nHashes1);
 		double k = Math.max(k0, k1);
@@ -511,10 +511,10 @@ public class KMVSketch extends CountDistinctSketch {
 		for(int i = 0; i < nHashes0; ++i) {
 			double val;
 			if(op.getDirection().isRow() || op.getDirection().isRowCol()) {
-				val = matrix0.getValue(idx, i);
+				val = matrix0.get(idx, i);
 			}
 			else { // op.getDirection().isCol()
-				val = matrix0.getValue(i, idx);
+				val = matrix0.get(i, idx);
 			}
 			hashUnion.add(val);
 		}
@@ -522,10 +522,10 @@ public class KMVSketch extends CountDistinctSketch {
 		for(int i = 0; i < nHashes1; ++i) {
 			double val;
 			if(op.getDirection().isRow() || op.getDirection().isRowCol()) {
-				val = matrix1.getValue(idx, i);
+				val = matrix1.get(idx, i);
 			}
 			else { // op.getDirection().isCol()
-				val = matrix1.getValue(i, idx);
+				val = matrix1.get(i, idx);
 			}
 			hashUnion.add(val);
 		}
@@ -534,17 +534,17 @@ public class KMVSketch extends CountDistinctSketch {
 		while(!hashUnion.isEmpty()) {
 			double val = hashUnion.poll();
 			if(op.getDirection().isRow() || op.getDirection().isRowCol()) {
-				combined.setValue(idx, i, val);
+				combined.set(idx, i, val);
 			}
 			else { // op.getDirection().isCol()
-				combined.setValue(i, idx, val);
+				combined.set(i, idx, val);
 			}
 			i++;
 		}
 
-		combinedCorr.setValue(idx, 0, nHashes);
-		combinedCorr.setValue(idx, 1, k);
-		combinedCorr.setValue(idx, 2, D);
+		combinedCorr.set(idx, 0, nHashes);
+		combinedCorr.set(idx, 1, k);
+		combinedCorr.set(idx, 2, D);
 	}
 
 	@Override
diff --git a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderBin.java b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderBin.java
index 4565d2f836..edee095f61 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderBin.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderBin.java
@@ -66,7 +66,7 @@ public class DecoderBin extends Decoder {
 		for( int i=rl; i< ru; i++ ) {
 			for( int j=0; j<_colList.length; j++ ) {
 				final Array<?> a = out.getColumn(_colList[j] - 1);
-				final double val = in.quickGetValue(i, _colList[j] - 1);
+				final double val = in.get(i, _colList[j] - 1);
 				if(!Double.isNaN(val)){
 					final int key = (int) Math.round(val);
 					double bmin = _binMins[j][key - 1];
diff --git a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderDummycode.java b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderDummycode.java
index 114f1238f8..0c4c6b4269 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderDummycode.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderDummycode.java
@@ -64,7 +64,7 @@ public class DecoderDummycode extends Decoder
 		for( int i=rl; i<ru; i++ )
 			for( int j=0; j<_colList.length; j++ )
 				for( int k=_clPos[j]; k<_cuPos[j]; k++ )
-					if( in.quickGetValue(i, k-1) != 0 ) {
+					if( in.get(i, k-1) != 0 ) {
 						int col = _colList[j] - 1;
 						out.set(i, col, UtilFunctions.doubleToObject(
 							out.getSchema()[col], k-_clPos[j]+1));
diff --git a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderPassThrough.java b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderPassThrough.java
index d2a63dfb19..5b6bf7a093 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderPassThrough.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderPassThrough.java
@@ -65,7 +65,7 @@ public class DecoderPassThrough extends Decoder
 			for( int j=0; j<clen; j++ ) {
 				int srcColID = _srcCols[j];
 				int tgtColID = _colList[j];
-				double val = in.quickGetValue(i, srcColID-1);
+				double val = in.get(i, srcColID-1);
 				out.set(i, tgtColID-1,
 					UtilFunctions.doubleToObject(_schema[tgtColID-1], val));
 			}
diff --git a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderRecode.java b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderRecode.java
index f921845655..91d9fb6214 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderRecode.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/decode/DecoderRecode.java
@@ -86,7 +86,7 @@ public class DecoderRecode extends Decoder
 			out.ensureAllocatedColumns(in.getNumRows());
 			for( int i=rl; i<ru; i++ ) {
 				for( int j=0; j<_colList.length; j++ ) {
-					double val = in.quickGetValue(i, _colList[j]-1);
+					double val = in.get(i, _colList[j]-1);
 					long key = UtilFunctions.toLong(val);
 					out.set(i, _colList[j]-1, getRcMapValue(j, key));
 				}
diff --git a/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderDummycode.java b/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderDummycode.java
index a9b00a0767..375d0be526 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderDummycode.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderDummycode.java
@@ -174,13 +174,13 @@ public class ColumnEncoderDummycode extends ColumnEncoder {
 			for (int ii=i; ii<lim; ii++) {
 				double val = vals[ii-rowStart];
 				if(Double.isNaN(val)) {
-					out.quickSetValue(ii, outputCol, 0); //0 if NaN
+					out.set(ii, outputCol, 0); //0 if NaN
 					continue;
 				}
 				int nCol = outputCol + (int) val - 1;
 				if(nCol != outputCol)
-					out.quickSetValue(ii, outputCol, 0);
-				out.quickSetValue(ii, nCol, 1);
+					out.set(ii, outputCol, 0);
+				out.set(ii, nCol, 1);
 			}
 		}
 	}
@@ -327,7 +327,5 @@ public class ColumnEncoderDummycode extends ColumnEncoder {
 		public String toString() {
 			return getClass().getSimpleName() + "<ColId: " + _encoder._colID + ">";
 		}
-
 	}
-
 }
diff --git a/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderWordEmbedding.java b/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderWordEmbedding.java
index 8e0b36f9e0..76f1c12a7d 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderWordEmbedding.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/encode/ColumnEncoderWordEmbedding.java
@@ -79,7 +79,7 @@ public class ColumnEncoderWordEmbedding extends ColumnEncoder {
 	private double[] getEmbeddedingFromEmbeddingMatrix(long r){
 		double[] embedding = new double[getDomainSize()];
 		for (int i = 0; i < getDomainSize(); i++) {
-			embedding[i] = this._wordEmbeddings.quickGetValue((int) r, _colID - 1 + i);
+			embedding[i] = this._wordEmbeddings.get((int) r, _colID - 1 + i);
 		}
 		return embedding;
 	}
@@ -93,7 +93,7 @@ public class ColumnEncoderWordEmbedding extends ColumnEncoder {
 				continue;
 			double[] embedding = _embMap.get(key);
 			if(embedding != null)
-				out.quickSetRow(i, embedding);
+				out.setRow(i, embedding);
 		}
 	}
 
diff --git a/src/main/java/org/apache/sysds/runtime/transform/encode/CompressedEncode.java b/src/main/java/org/apache/sysds/runtime/transform/encode/CompressedEncode.java
index 7fbdb1ea3c..6506c6f9f4 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/encode/CompressedEncode.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/encode/CompressedEncode.java
@@ -235,9 +235,9 @@ public class CompressedEncode {
 
 		MatrixBlock bins = new MatrixBlock(nVals + (NaN ? 1 : 0), 1, false);
 		for(int i = 0; i < nVals; i++)
-			bins.quickSetValue(i, 0, i + 1);
+			bins.set(i, 0, i + 1);
 		if(NaN)
-			bins.quickSetValue(nVals, 0, Double.NaN);
+			bins.set(nVals, 0, Double.NaN);
 
 		return MatrixBlockDictionary.create(bins);
 
@@ -271,9 +271,9 @@ public class CompressedEncode {
 			return ColGroupConst.create(colIndexes, new double[] {1});
 		MatrixBlock incrementing = new MatrixBlock(domain + (containsNull ? 1 : 0), 1, false);
 		for(int i = 0; i < domain; i++)
-			incrementing.quickSetValue(i, 0, i + 1);
+			incrementing.set(i, 0, i + 1);
 		if(containsNull)
-			incrementing.quickSetValue(domain, 0, Double.NaN);
+			incrementing.set(domain, 0, Double.NaN);
 
 		ADictionary d = MatrixBlockDictionary.create(incrementing);
 
@@ -398,9 +398,9 @@ public class CompressedEncode {
 
 		MatrixBlock incrementing = new MatrixBlock(domain + (nulls ? 1 : 0), 1, false);
 		for(int i = 0; i < domain; i++)
-			incrementing.quickSetValue(i, 0, i + 1);
+			incrementing.set(i, 0, i + 1);
 		if(nulls)
-			incrementing.quickSetValue(domain, 0, Double.NaN);
+			incrementing.set(domain, 0, Double.NaN);
 
 		ADictionary d = MatrixBlockDictionary.create(incrementing);
 
diff --git a/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderMVImpute.java b/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderMVImpute.java
index ba0e5b785f..11107b6df6 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderMVImpute.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderMVImpute.java
@@ -228,8 +228,8 @@ public class EncoderMVImpute extends LegacyEncoder {
 		for(int i = 0; i < in.getNumRows(); i++) {
 			for(int j = 0; j < _colList.length; j++) {
 				int colID = _colList[j];
-				if(Double.isNaN(out.quickGetValue(i, colID - 1)))
-					out.quickSetValue(i, colID - 1, Double.parseDouble(_replacementList[j]));
+				if(Double.isNaN(out.get(i, colID - 1)))
+					out.set(i, colID - 1, Double.parseDouble(_replacementList[j]));
 			}
 		}
 		if(DMLScript.STATISTICS)
diff --git a/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderOmit.java b/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderOmit.java
index 4db92992ea..526fe258cd 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderOmit.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/encode/EncoderOmit.java
@@ -145,7 +145,7 @@ public class EncoderOmit extends LegacyEncoder {
 			// copy row if necessary
 			if(!rmRows[i]) {
 				for(int j = 0; j < out.getNumColumns(); j++)
-					ret.quickSetValue(pos, j, out.quickGetValue(i, j));
+					ret.set(pos, j, out.get(i, j));
 				pos++;
 			}
 		}
diff --git a/src/main/java/org/apache/sysds/runtime/transform/encode/MultiColumnEncoder.java b/src/main/java/org/apache/sysds/runtime/transform/encode/MultiColumnEncoder.java
index 43ccb08721..c514e010a7 100644
--- a/src/main/java/org/apache/sysds/runtime/transform/encode/MultiColumnEncoder.java
+++ b/src/main/java/org/apache/sysds/runtime/transform/encode/MultiColumnEncoder.java
@@ -789,9 +789,9 @@ public class MultiColumnEncoder implements Encoder {
 			else {
 				ni++;
 			}
-			out.quickSetValue(i, 0, colID);
-			out.quickSetValue(i, 1, nColID);
-			out.quickSetValue(i, 2, ni);
+			out.set(i, 0, colID);
+			out.set(i, 1, nColID);
+			out.set(i, 2, ni);
 		}
 		return out;
 	}
diff --git a/src/main/java/org/apache/sysds/runtime/util/DataConverter.java b/src/main/java/org/apache/sysds/runtime/util/DataConverter.java
index 86e7bde452..3373205fc3 100644
--- a/src/main/java/org/apache/sysds/runtime/util/DataConverter.java
+++ b/src/main/java/org/apache/sysds/runtime/util/DataConverter.java
@@ -258,19 +258,18 @@ public class DataConverter {
 
 		if( mb.getNonZeros() > 0 )
 		{
-			if( mb.isInSparseFormat() )
-			{
+			if( mb.isInSparseFormat() ) {
 				Iterator<IJV> iter = mb.getSparseBlockIterator();
 				while( iter.hasNext() ) {
 					IJV cell = iter.next();
 					ret[cell.getI()*cols+cell.getJ()] = (cell.getV() != 0.0);
 				}
 			}
-			else
-			{
+			else {
+				DenseBlock d = mb.getDenseBlock();
 				for( int i=0, cix=0; i<rows; i++ )
 					for( int j=0; j<cols; j++, cix++)
-						ret[cix] = (mb.getValueDenseUnsafe(i, j) != 0.0);
+						ret[cix] = (d.get(i, j) != 0.0);
 			}
 		}
 
@@ -308,9 +307,10 @@ public class DataConverter {
 		}
 		else {
 			int[] indices = new int[(int) mb.getNonZeros()];
+			DenseBlock d = mb.getDenseBlock();
 			for(int i = 0, aix=0, cix=0; i < rows; i++)
 				for(int j = 0; j < cols; j++, aix++)
-					if(mb.getValueDenseUnsafe(i, j) != 0.0)
+					if(d.get(i, j) != 0.0)
 						indices[cix++] = aix;
 			return indices;
 		}
@@ -331,9 +331,10 @@ public class DataConverter {
 		}
 		else {
 			//memcopy row major representation if at least 1 non-zero
+			DenseBlock d = mb.getDenseBlock();
 			for( int i=0, cix=0; i<rows; i++ )
 				for( int j=0; j<cols; j++, cix++ )
-					ret[cix] = (int)(mb.getValueDenseUnsafe(i, j));
+					ret[cix] = (int)(d.get(i, j));
 		}
 		return ret;
 	}
@@ -353,9 +354,10 @@ public class DataConverter {
 		}
 		else {
 			//memcopy row major representation if at least 1 non-zero
+			DenseBlock d = mb.getDenseBlock();
 			for( int i=0, cix=0; i<rows; i++ )
 				for( int j=0; j<cols; j++, cix++ )
-					ret[cix] = (int)(mb.getValueDenseUnsafe(i, j));
+					ret[cix] = (int)(d.get(i, j));
 		}
 		return ret;
 	}
@@ -440,9 +442,10 @@ public class DataConverter {
 		}
 		else
 		{
+			DenseBlock d = mb.getDenseBlock();
 			for( int i=0; i<rows; i++ )
 				for( int j=0; j<cols; j++ )
-					ret.add( mb.getValueDenseUnsafe(i, j) );
+					ret.add( d!=null?d.get(i, j) : 0 );
 		}
 
 		return ret;
@@ -562,7 +565,7 @@ public class DataConverter {
 				int rix = (int)index.getRowIndex();
 				int cix = (int)index.getColumnIndex();
 				if( value != 0 && rix<=rlen && cix<=clen )
-					mb.quickSetValue( rix-1, cix-1, value );
+					mb.set( rix-1, cix-1, value );
 			}
 		}
 
@@ -778,9 +781,10 @@ public class DataConverter {
 					}
 				}
 				else { //DENSE
+					DenseBlock d = mb.getDenseBlock();
 					for( int i=0; i<rows; i++ )
 						for( int j=0; j<cols; j++ )
-							ret[j].appendValue(i, 0, mb.getValueDenseUnsafe(i, j));
+							ret[j].appendValue(i, 0, d!=null?d.get(i, j) : 0);
 				}
 			}
 		}
@@ -838,7 +842,7 @@ public class DataConverter {
 			rm.getColumnDimension(), false).allocateDenseBlock();
 		for(int i=0; i<ret.getNumRows(); i++)
 			for(int j=0; j<ret.getNumColumns(); j++)
-				ret.quickSetValue(i, j, rm.getEntry(i, j));
+				ret.set(i, j, rm.getEntry(i, j));
 		ret.examSparsity();
 		return ret;
 	}
@@ -932,7 +936,7 @@ public class DataConverter {
 			} else {	// Block is in dense format
 				for (int i=0; i<rowLength; i++){
 					for (int j=0; j<colLength; j++){
-						double value = mb.getValue(i, j);
+						double value = mb.get(i, j);
 						if (value != 0.0){
 							sb.append(i+1).append(separator).append(j+1).append(separator);
 							sb.append(dfFormat(df, value)).append(lineseparator);
@@ -944,13 +948,13 @@ public class DataConverter {
 		else {	// Dense Print Format
 			for (int i=0; i<rowLength; i++){
 				for (int j=0; j<colLength-1; j++){
-					Double value = mb.quickGetValue(i, j);
+					Double value = mb.get(i, j);
 					if (value.equals(-0.0d))
 						value = 0.0;
 					sb.append(dfFormat(df, value));
 					sb.append(separator);
 				}
-				Double value = mb.quickGetValue(i, colLength-1);
+				Double value = mb.get(i, colLength-1);
 				if (value.equals(-0.0d))
 					value = 0.0;
 				sb.append(dfFormat(df, value));	// Do not put separator after last element
@@ -1237,7 +1241,7 @@ public class DataConverter {
 				}
 				tDims = new int[(int) in.getLength()];
 				for (int i = 0; i < in.getLength(); i++) {
-					tDims[i] = UtilFunctions.toInt(in.getValue(colVec ? 0 : i, colVec ? i : 0));
+					tDims[i] = UtilFunctions.toInt(in.get(colVec ? 0 : i, colVec ? i : 0));
 				}
 				ec.releaseMatrixInput(dims.getName());
 			}
diff --git a/src/main/java/org/apache/sysds/runtime/util/Py4jConverterUtils.java b/src/main/java/org/apache/sysds/runtime/util/Py4jConverterUtils.java
index 4c90261fa9..3cd645cf6e 100644
--- a/src/main/java/org/apache/sysds/runtime/util/Py4jConverterUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/util/Py4jConverterUtils.java
@@ -51,7 +51,7 @@ public class Py4jConverterUtils {
 			double val = buf1.getDouble();
 			int rowIndex = buf2.getInt();
 			int colIndex = buf3.getInt();
-			mb.setValue(rowIndex, colIndex, val);
+			mb.set(rowIndex, colIndex, val);
 		}
 		mb.recomputeNonZeros();
 		mb.examSparsity();
diff --git a/src/test/java/org/apache/sysds/performance/generators/ConstMatrix.java b/src/test/java/org/apache/sysds/performance/generators/ConstMatrix.java
index f43e48caa7..3651395b4d 100644
--- a/src/test/java/org/apache/sysds/performance/generators/ConstMatrix.java
+++ b/src/test/java/org/apache/sysds/performance/generators/ConstMatrix.java
@@ -37,7 +37,7 @@ public class ConstMatrix implements Const<MatrixBlock> {
 		this.nVal = (int) LibMatrixCountDistinct
 			.estimateDistinctValues(mb,
 				new CountDistinctOperator(AUType.COUNT_DISTINCT, Types.Direction.RowCol, ReduceAll.getReduceAllFnObject()))
-			.getValue(0, 0);
+			.get(0, 0);
 	}
 
 	public ConstMatrix(int r, int c, int nVal, double s) {
diff --git a/src/test/java/org/apache/sysds/performance/micro/InformationLoss.java b/src/test/java/org/apache/sysds/performance/micro/InformationLoss.java
index b5472992b3..c4c4c16772 100644
--- a/src/test/java/org/apache/sysds/performance/micro/InformationLoss.java
+++ b/src/test/java/org/apache/sysds/performance/micro/InformationLoss.java
@@ -165,9 +165,9 @@ public class InformationLoss {
 		try{
 
 			Future<Double> minF = pool.submit(() -> delta.min(16));
-			Future<Double> maxF = pool.submit(() -> delta.max(16).quickGetValue(0, 0));
+			Future<Double> maxF = pool.submit(() -> delta.max(16).get(0, 0));
 			Future<Double> meanF = pool
-				.submit(() -> delta.sum(16).quickGetValue(0, 0) / (delta.getNumRows() * delta.getNumColumns()));
+				.submit(() -> delta.sum(16).get(0, 0) / (delta.getNumRows() * delta.getNumColumns()));
 	
 			double min = minF.get();
 			double max = maxF.get();
diff --git a/src/test/java/org/apache/sysds/test/TestUtils.java b/src/test/java/org/apache/sysds/test/TestUtils.java
index 2c2bbc15e9..0c407cc71a 100644
--- a/src/test/java/org/apache/sysds/test/TestUtils.java
+++ b/src/test/java/org/apache/sysds/test/TestUtils.java
@@ -1068,8 +1068,8 @@ public class TestUtils {
 
 		for(int i = 0; i < rows && countErrors < 20; i++) {
 			for(int j = 0; j < cols && countErrors < 20; j++) {
-				final double v1 = expectedMatrix.quickGetValue(i, j);
-				final double v2 = actualMatrix.quickGetValue(i, j);
+				final double v1 = expectedMatrix.get(i, j);
+				final double v2 = actualMatrix.get(i, j);
 				if(v1 == 0 && v2 == 0)
 					continue;
 				else if(v1 == 0 || v2 == 0) {
@@ -1326,12 +1326,12 @@ public class TestUtils {
 
 		for(int i = 0; i < rows && countErrors < 20; i++) {
 			for(int j = 0; j < cols && countErrors < 20; j++) {
-				final double distance = getPercentDistance(expectedMatrix.quickGetValue(i, j),
-					actualMatrix.quickGetValue(i, j), ignoreZero);
+				final double distance = getPercentDistance(expectedMatrix.get(i, j),
+					actualMatrix.get(i, j), ignoreZero);
 				sumPercentDistance += distance;
 				if(distance < percentDistanceAllowed) {
-					message += ("\nExpected: " + expectedMatrix.quickGetValue(i, j) + " vs actual: "
-						+ actualMatrix.quickGetValue(i, j) + " at " + i + " " + j + " Distance in percent " + distance);
+					message += ("\nExpected: " + expectedMatrix.get(i, j) + " vs actual: "
+						+ actualMatrix.get(i, j) + " at " + i + " " + j + " Distance in percent " + distance);
 					countErrors++;
 				}
 			}
@@ -2088,7 +2088,7 @@ public class TestUtils {
 		MatrixBlock m = MatrixBlock.randOperations(rows, cols, sparsity, min, max, "Uniform", seed);
 		for(int i = 0; i < rows; i++) {
 			for(int j = i+1; j < cols; j++) {
-				m.setValue(i,j, m.getValue(j,i));
+				m.set(i,j, m.get(j,i));
 			}
 		}
 		return m;
@@ -2881,7 +2881,7 @@ public class TestUtils {
 						value.reset(rows, cols, sparseFormat);
 						for (int k = 0; k < rows; k++) {
 							for (int l = 0; l < cols; l++) {
-								value.setValue(k, l, matrix[i + k][j + l]);
+								value.set(k, l, matrix[i + k][j + l]);
 							}
 						}
 						writer.append(index, value);
diff --git a/src/test/java/org/apache/sysds/test/component/compress/AbstractCompressedUnaryTests.java b/src/test/java/org/apache/sysds/test/component/compress/AbstractCompressedUnaryTests.java
index f081e7e748..c6b3a83a11 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/AbstractCompressedUnaryTests.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/AbstractCompressedUnaryTests.java
@@ -299,14 +299,14 @@ public abstract class AbstractCompressedUnaryTests extends CompressedTestBase {
 			}
 			else {
 				if(aggType == AggType.PRODUCT) {
-					if(Double.isInfinite(ret2.quickGetValue(0, 0))){
+					if(Double.isInfinite(ret2.get(0, 0))){
 						if(!printedWarningForProduct.get()) {
 							printedWarningForProduct.set(true);
 							LOG.warn("Product not equal because of double rounding upwards");
 						}
 						return;	
 					}
-					if(Math.abs(ret2.quickGetValue(0, 0)) <= 1E-16) {
+					if(Math.abs(ret2.get(0, 0)) <= 1E-16) {
 						if(!printedWarningForProduct.get()) {
 							printedWarningForProduct.set(true);
 							LOG.warn("Product not equal because of  double rounding downwards");
diff --git a/src/test/java/org/apache/sysds/test/component/compress/CompressedCustomTests.java b/src/test/java/org/apache/sysds/test/component/compress/CompressedCustomTests.java
index c1790cc012..13ccb8924c 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/CompressedCustomTests.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/CompressedCustomTests.java
@@ -55,7 +55,7 @@ public class CompressedCustomTests {
 
 			for(int i = 0; i < m.getNumRows(); i++)
 				for(int j = 0; j < m.getNumColumns(); j++)
-					assertEquals(Double.NaN, m2.quickGetValue(i, j), 0.0);
+					assertEquals(Double.NaN, m2.get(i, j), 0.0);
 		}
 		catch(Exception e) {
 			e.printStackTrace();
@@ -69,16 +69,16 @@ public class CompressedCustomTests {
 
 			MatrixBlock m = new MatrixBlock(100, 100, true);
 			for(int i = 0; i < m.getNumRows(); i++)
-				m.setValue(i, i, Double.NaN);
+				m.set(i, i, Double.NaN);
 			assertTrue(m.isInSparseFormat());
 			MatrixBlock m2 = CompressedMatrixBlockFactory.compress(m).getLeft();
 
 			for(int i = 0; i < m.getNumRows(); i++)
 				for(int j = 0; j < m.getNumColumns(); j++) {
 					if(i == j)
-						assertEquals(Double.NaN, m2.quickGetValue(i, j), 0.0);
+						assertEquals(Double.NaN, m2.get(i, j), 0.0);
 					else
-						assertEquals(0.0, m2.quickGetValue(i, j), 0.0);
+						assertEquals(0.0, m2.get(i, j), 0.0);
 				}
 		}
 		catch(Exception e) {
diff --git a/src/test/java/org/apache/sysds/test/component/compress/CompressedMatrixTest.java b/src/test/java/org/apache/sysds/test/component/compress/CompressedMatrixTest.java
index 3c036a92f7..767f5da780 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/CompressedMatrixTest.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/CompressedMatrixTest.java
@@ -91,8 +91,8 @@ public class CompressedMatrixTest extends AbstractCompressedUnaryTests {
 			final int max = Math.min(r.nextInt(rows - min) + min, min + 1000);
 			for(int i = min; i < max; i++)
 				for(int j = 0; j < cols; j++) {
-					final double ulaVal = mb.getValue(i, j);
-					final double claVal = cmb.getValue(i, j); // calls quickGetValue internally
+					final double ulaVal = mb.get(i, j);
+					final double claVal = cmb.get(i, j); // calls quickGetValue internally
 					if(_cs != null && (_cs.lossy || overlappingType == OverLapping.SQUASH))
 						assertTrue(bufferedToString, TestUtils.compareCellValue(ulaVal, claVal, lossyTolerance, false));
 					else if(OverLapping.effectOnOutput(overlappingType))
@@ -118,8 +118,8 @@ public class CompressedMatrixTest extends AbstractCompressedUnaryTests {
 
 			for(int i = min; i < max; i++)
 				for(int j = 0; j < cols; j++) {
-					final double ulaVal = mb.quickGetValue(i, j);
-					final double claVal = cmb.quickGetValue(i, j); // calls quickGetValue internally
+					final double ulaVal = mb.get(i, j);
+					final double claVal = cmb.get(i, j); // calls quickGetValue internally
 					if(_cs != null && (_cs.lossy || overlappingType == OverLapping.SQUASH))
 						assertTrue(bufferedToString, TestUtils.compareCellValue(ulaVal, claVal, lossyTolerance, false));
 					else if(OverLapping.effectOnOutput(overlappingType))
@@ -491,7 +491,7 @@ public class CompressedMatrixTest extends AbstractCompressedUnaryTests {
 
 			MatrixBlock m2 = new MatrixBlock(1, 1, 0);
 			MatrixBlock ret1 = cmb.binaryOperations(op, m2, new MatrixBlock());
-			ScalarOperator sop = new RightScalarOperator(op.fn, m2.getValue(0, 0), op.getNumThreads());
+			ScalarOperator sop = new RightScalarOperator(op.fn, m2.get(0, 0), op.getNumThreads());
 			ucRet = mb.scalarOperations(sop, ucRet);
 
 			compareResultMatrices(ucRet, ret1, 1);
diff --git a/src/test/java/org/apache/sysds/test/component/compress/CompressedTestBase.java b/src/test/java/org/apache/sysds/test/component/compress/CompressedTestBase.java
index 7b791180e7..d9d0eb4154 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/CompressedTestBase.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/CompressedTestBase.java
@@ -529,30 +529,30 @@ public abstract class CompressedTestBase extends TestBase {
 	@Test
 	public void testLeftMatrixMatrixMultSparseCustom() {
 		MatrixBlock matrix = new MatrixBlock(2, rows, true);
-		matrix.quickSetValue(1, rows - 1, 99);
+		matrix.set(1, rows - 1, 99);
 		testLeftMatrixMatrix(matrix);
 	}
 
 	@Test
 	public void testLeftMatrixMatrixMultSparseCustom2() {
 		MatrixBlock matrix = new MatrixBlock(2, rows, true);
-		matrix.quickSetValue(1, 0, 99);
+		matrix.set(1, 0, 99);
 		testLeftMatrixMatrix(matrix);
 	}
 
 	@Test
 	public void testLeftMatrixMatrixMultSparseCustom3() {
 		MatrixBlock matrix = new MatrixBlock(2, rows, true);
-		matrix.quickSetValue(0, 0, -99);
-		matrix.quickSetValue(1, 0, 99);
+		matrix.set(0, 0, -99);
+		matrix.set(1, 0, 99);
 		testLeftMatrixMatrix(matrix);
 	}
 
 	@Test
 	public void testLeftMatrixMatrixMultSparseCustom4() {
 		MatrixBlock matrix = new MatrixBlock(2, rows, true);
-		matrix.quickSetValue(0, rows - 1, -99);
-		matrix.quickSetValue(1, 0, 99);
+		matrix.set(0, rows - 1, -99);
+		matrix.set(1, 0, 99);
 		testLeftMatrixMatrix(matrix);
 	}
 
@@ -615,7 +615,7 @@ public abstract class CompressedTestBase extends TestBase {
 
 	public void testRightMatrixMatrix(MatrixBlock matrix) {
 		try {
-			matrix.quickSetValue(0, 0, 10);
+			matrix.set(0, 0, 10);
 			// Make Operator
 			AggregateBinaryOperator abop = InstructionUtils.getMatMultOperator(_k);
 
diff --git a/src/test/java/org/apache/sysds/test/component/compress/CompressibleInputGenerator.java b/src/test/java/org/apache/sysds/test/component/compress/CompressibleInputGenerator.java
index 0e42a7fb59..65c0ac0baf 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/CompressibleInputGenerator.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/CompressibleInputGenerator.java
@@ -135,9 +135,9 @@ public class CompressibleInputGenerator {
 				pointer += before;
 				for(int i = before; i < nr - after; i++) {
 					if(transpose)
-						output.quickSetValue(colNr, pointer, values.get(valuePointer));
+						output.set(colNr, pointer, values.get(valuePointer));
 					else
-						output.quickSetValue(pointer, colNr, values.get(valuePointer));
+						output.set(pointer, colNr, values.get(valuePointer));
 
 					pointer++;
 				}
@@ -146,9 +146,9 @@ public class CompressibleInputGenerator {
 				if(valuePointer == values.size() && after == 0) {
 					while(pointer < rows) {
 						if(transpose)
-							output.quickSetValue(colNr, pointer, values.get(nrUnique - 1));
+							output.set(colNr, pointer, values.get(nrUnique - 1));
 						else
-							output.quickSetValue(pointer, colNr, values.get(nrUnique - 1));
+							output.set(pointer, colNr, values.get(nrUnique - 1));
 						pointer++;
 					}
 				}
@@ -182,9 +182,9 @@ public class CompressibleInputGenerator {
 			if(transpose && output.isInSparseFormat())
 				output.appendValue(0, x, d);
 			else if(transpose)
-				output.quickSetValue(0, x, d);
+				output.set(0, x, d);
 			else
-				output.quickSetValue(x, 0, d);
+				output.set(x, 0, d);
 		}
 
 		int diff = max - min;
@@ -194,19 +194,19 @@ public class CompressibleInputGenerator {
 			for(int x = 0; x < rows; x++) {
 				if(r.nextDouble() < sparsity) {
 					if(transpose && output.isInSparseFormat()) {
-						int v = (int) (output.getValue(0, x) * y);
+						int v = (int) (output.get(0, x) * y);
 						double d = Math.abs(v % diff) + min;
 						output.appendValue(y, x, d);
 					}
 					else if(transpose) {
-						int v = (int) (output.getValue(0, x) * y);
+						int v = (int) (output.get(0, x) * y);
 						double d = Math.abs(v % diff) + min;
-						output.quickSetValue(y, x, d);
+						output.set(y, x, d);
 					}
 					else {
-						int v = (int) (output.getValue(x, 0) * y);
+						int v = (int) (output.get(x, 0) * y);
 						double d = Math.abs(v % diff) + min;
-						output.quickSetValue(x, y, d);
+						output.set(x, y, d);
 					}
 				}
 			}
@@ -224,9 +224,9 @@ public class CompressibleInputGenerator {
 			for(int x = 0; x < rows; x++) {
 				if(r.nextDouble() > sparsity) {
 					if(transpose)
-						output.quickSetValue(0, x, 0);
+						output.set(0, x, 0);
 					else
-						output.quickSetValue(x, 0, 0);
+						output.set(x, 0, 0);
 				}
 			}
 		}
diff --git a/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapSparseTest.java b/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapSparseTest.java
index 9b56c4db70..7a6bd4c2a1 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapSparseTest.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapSparseTest.java
@@ -47,7 +47,7 @@ public class BitMapSparseTest {
 		for(int i = 0; i < 10; i++){
 			double v = i % 3;
 			if(v != 0)
-				mb.setValue(i, 0, i % 3);
+				mb.set(i, 0, i % 3);
 		}
 		ABitmap m = BitmapEncoder.extractBitmap(colIndexes, mb, false, 3, false);
 		assertEquals(m.containsZero(), true);
@@ -64,7 +64,7 @@ public class BitMapSparseTest {
 		for(int i = 0; i < 10; i++){
 			double v = i % 3;
 			if(v != 0)
-				mb.setValue(i, 0, i % 3);
+				mb.set(i, 0, i % 3);
 		}
 		ABitmap m = BitmapEncoder.extractBitmap(colIndexes, mb, false, 3, false);
 		assertEquals(m.containsZero(), true);
diff --git a/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapTest.java b/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapTest.java
index 5ad31328a3..71c7144ecb 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapTest.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/bitmap/BitMapTest.java
@@ -48,7 +48,7 @@ public class BitMapTest {
 	@Test
 	public void constructBitMap() {
 		for(int i = 0; i < 10; i++)
-			mb.setValue(i, 0, 1 + i % 3);
+			mb.set(i, 0, 1 + i % 3);
 		ABitmap m = BitmapEncoder.extractBitmap(colIndexes, mb, false, 3, false);
 		assertEquals(m.containsZero(), false);
 		assertEquals(m.getNumColumns(), 1);
@@ -60,7 +60,7 @@ public class BitMapTest {
 	@Test
 	public void constructBitMapWithZeros() {
 		for(int i = 0; i < 10; i++)
-			mb.setValue(i, 0, i % 3);
+			mb.set(i, 0, i % 3);
 		ABitmap m = BitmapEncoder.extractBitmap(colIndexes, mb, false, 2, false);
 		assertEquals(m.containsZero(), true);
 		assertEquals(m.getNumColumns(), 1);
@@ -72,7 +72,7 @@ public class BitMapTest {
 	@Test
 	public void sortBitmap() {
 		for(int i = 0; i < 10; i++)
-			mb.setValue(i, 0, i > 7 ? 1 : 2);
+			mb.set(i, 0, i > 7 ? 1 : 2);
 		ABitmap m = BitmapEncoder.extractBitmap(colIndexes, mb, false, 2, true);
 		assertEquals(m.containsZero(), false);
 		assertEquals(m.getNumColumns(), 1);
diff --git a/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupBase.java b/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupBase.java
index 6ac441fb98..1b1513b064 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupBase.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupBase.java
@@ -259,18 +259,18 @@ public abstract class ColGroupBase {
 	protected static void addSingle(ArrayList<Object[]> tests) {
 		MatrixBlock mb = new MatrixBlock(100, 100, true);
 		MatrixBlock mv = new MatrixBlock(100, 1, true);
-		mv.quickSetValue(4, 0, 1);
-		mv.quickSetValue(45, 0, 2);
-		mv.quickSetValue(2, 0, 3);
-		mv.quickSetValue(66, 0, 4);
-		mv.quickSetValue(99, 0, 5);
+		mv.set(4, 0, 1);
+		mv.set(45, 0, 2);
+		mv.set(2, 0, 3);
+		mv.set(66, 0, 4);
+		mv.set(99, 0, 5);
 		BinaryOperator bop = new BinaryOperator(Plus.getPlusFnObject(), 1);
 		MatrixBlock mbr = mb.binaryOperations(bop, mv, null);
 		MatrixBlock mbrc = new MatrixBlock();
 		mbrc.copy(mbr);
 
 		for(int i = 0; i < 100; i++)
-			mbrc.quickSetValue(0, i, 100);
+			mbrc.set(0, i, 100);
 
 		mbrc.recomputeNonZeros();
 		addAll(tests, mbrc, ColIndexFactory.create(10));
@@ -281,7 +281,7 @@ public abstract class ColGroupBase {
 
 		for(int j : new int[] {1, 5, 23, 51, 62})
 			for(int i = 0; i < 100; i++)
-				mbr2.quickSetValue(j, i, 100 * j);
+				mbr2.set(j, i, 100 * j);
 
 		mbr2.recomputeNonZeros();
 		addAll(tests, mbr2, ColIndexFactory.create(10));
@@ -299,7 +299,7 @@ public abstract class ColGroupBase {
 
 			for(int j : new int[] {1, 4, 44, 87})
 				for(int i = 0; i < 100; i++)
-					mb.quickSetValue(i, j, 100);
+					mb.set(i, j, 100);
 
 			mb.recomputeNonZeros();
 			addAll(tests, mb, ColIndexFactory.create(10));
@@ -319,7 +319,7 @@ public abstract class ColGroupBase {
 
 			for(int j : new int[] {0, 4, 44, 87})
 				for(int i : new int[] {0, 4, 13, 24, 56, 92})
-					mb.quickSetValue(i, j, 100);
+					mb.set(i, j, 100);
 
 			mb.recomputeNonZeros();
 			addAll(tests, mb, ColIndexFactory.create(1));
@@ -330,7 +330,7 @@ public abstract class ColGroupBase {
 
 			for(int j : new int[] {44, 87})
 				for(int i : new int[] {56, 92})
-					mb2.quickSetValue(i, j, 100);
+					mb2.set(i, j, 100);
 
 			mb2.recomputeNonZeros();
 			addAll(tests, mb2, ColIndexFactory.create(100));
@@ -339,7 +339,7 @@ public abstract class ColGroupBase {
 
 			for(int j : new int[] {1, 2})
 				for(int i : new int[] {1, 2})
-					mb3.quickSetValue(i, j, 100);
+					mb3.set(i, j, 100);
 
 			mb3.recomputeNonZeros();
 			addAll(tests, mb3, ColIndexFactory.create(100));
diff --git a/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupTest.java b/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupTest.java
index 54a543ad13..3f7d5e37e6 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupTest.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/colgroup/ColGroupTest.java
@@ -1777,8 +1777,8 @@ public class ColGroupTest extends ColGroupBase {
 	public void rightMultMatrixNotContainingValuesInColumns() {
 		MatrixBlock mb = new MatrixBlock(maxCol + 4, 10, false);
 		mb.allocateDenseBlock();
-		mb.setValue(maxCol + 1, 3, 2.0);
-		mb.setValue(maxCol + 3, 6, 2.0);
+		mb.set(maxCol + 1, 3, 2.0);
+		mb.set(maxCol + 3, 6, 2.0);
 		rightMult(mb);
 	}
 
@@ -1786,8 +1786,8 @@ public class ColGroupTest extends ColGroupBase {
 	public void rightMultMatrixNotContainingValuesInColumnsSparse() {
 		MatrixBlock mb = new MatrixBlock(maxCol + 4, 10, false);
 		mb.allocateDenseBlock();
-		mb.setValue(maxCol + 1, 3, 2.0);
-		mb.setValue(maxCol + 3, 6, 2.0);
+		mb.set(maxCol + 1, 3, 2.0);
+		mb.set(maxCol + 3, 6, 2.0);
 		mb.denseToSparse(true);
 		rightMult(mb);
 	}
@@ -1796,7 +1796,7 @@ public class ColGroupTest extends ColGroupBase {
 	public void rightMultMatrixSingleValue() {
 		MatrixBlock mb = new MatrixBlock(maxCol, 10, false);
 		mb.allocateDenseBlock();
-		mb.setValue(maxCol - 1, 3, 2.0);
+		mb.set(maxCol - 1, 3, 2.0);
 		rightMult(mb);
 	}
 
@@ -1805,7 +1805,7 @@ public class ColGroupTest extends ColGroupBase {
 		MatrixBlock mb = new MatrixBlock(maxCol, 10, false);
 		mb.allocateDenseBlock();
 		for(int i = 0; i < maxCol; i++) {
-			mb.setValue(i, i % 10, i);
+			mb.set(i, i % 10, i);
 		}
 		mb.denseToSparse(true);
 		rightMult(mb);
@@ -1816,7 +1816,7 @@ public class ColGroupTest extends ColGroupBase {
 		MatrixBlock mb = new MatrixBlock(maxCol, 10, false);
 		mb.allocateDenseBlock();
 		for(int i = 0; i < maxCol; i++) {
-			mb.setValue(i, i % 10, i);
+			mb.set(i, i % 10, i);
 		}
 		mb.denseToSparse(true);
 		rightMultWithAllCols(mb);
diff --git a/src/test/java/org/apache/sysds/test/component/compress/estim/encoding/EncodeSampleCustom.java b/src/test/java/org/apache/sysds/test/component/compress/estim/encoding/EncodeSampleCustom.java
index 7315ca1daf..eab7bdc51f 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/estim/encoding/EncodeSampleCustom.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/estim/encoding/EncodeSampleCustom.java
@@ -260,7 +260,7 @@ public class EncodeSampleCustom {
 	private static MatrixBlock getSparseNaNMatrix() {
 		MatrixBlock m = new MatrixBlock(100, 100, true);
 		for(int i = 0; i < m.getNumRows(); i++)
-			m.setValue(i, i, Double.NaN);
+			m.set(i, i, Double.NaN);
 		return m;
 	}
 
diff --git a/src/test/java/org/apache/sysds/test/component/compress/lib/CombineGroupsTest.java b/src/test/java/org/apache/sysds/test/component/compress/lib/CombineGroupsTest.java
index f118705c28..d981ce6365 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/lib/CombineGroupsTest.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/lib/CombineGroupsTest.java
@@ -365,7 +365,7 @@ public class CombineGroupsTest {
 		MatrixBlock ret = new MatrixBlock(a.getNumRows(), a.getNumColumns(), a.getNonZeros());
 		for(int r = 0; r < a.getNumRows(); r++)
 			for(int c = 0; c < a.getNumColumns(); c++)
-				ret.quickSetValue(r, mix[c], a.quickGetValue(r, c));
+				ret.set(r, mix[c], a.get(r, c));
 		return ret;
 	}
 
diff --git a/src/test/java/org/apache/sysds/test/component/compress/offset/OffsetTestPreAggregate.java b/src/test/java/org/apache/sysds/test/component/compress/offset/OffsetTestPreAggregate.java
index 12b4062744..554b0e0ac3 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/offset/OffsetTestPreAggregate.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/offset/OffsetTestPreAggregate.java
@@ -189,7 +189,7 @@ public abstract class OffsetTestPreAggregate {
 	protected abstract void preAggMapRowOne1(int row);
 
 	protected void verifyPreAggMapRowOne1(double[] preAV, int row) {
-		double v = leftM.getValue(row, data[1]);
+		double v = leftM.get(row, data[1]);
 		if(preAV[1] != v)
 			fail("\naggregate to wrong index");
 		if(!Precision.equals(preAV[0], s[row] - v, eps))
@@ -200,8 +200,8 @@ public abstract class OffsetTestPreAggregate {
 	public abstract void preAggMapAllRowsOne1();
 
 	protected void verifyPreAggAllOne1(double[] preAV) {
-		double v1 = leftM.getValue(0, data[1]);
-		double v2 = leftM.getValue(1, data[1]);
+		double v1 = leftM.get(0, data[1]);
+		double v2 = leftM.get(1, data[1]);
 		if(preAV[1] != v1)
 			fail("\naggregate to wrong index");
 		if(preAV[3] != v2)
@@ -225,8 +225,8 @@ public abstract class OffsetTestPreAggregate {
 	protected abstract void preAggMapSubOfRow(int row);
 
 	protected void verifyPreAggMapSubOfRow(double[] preAV, int row) {
-		double v = leftM.getValue(row, data[1]);
-		double v2 = leftM.getValue(row, data[data.length - 1]);
+		double v = leftM.get(row, data[1]);
+		double v2 = leftM.get(row, data[data.length - 1]);
 		if(preAV[1] != v)
 			fail("\naggregate to wrong index");
 		if(!Precision.equals(preAV[0], s[row] - v - v2, eps))
@@ -256,8 +256,8 @@ public abstract class OffsetTestPreAggregate {
 	protected abstract void preAggMapSubOfRowV2(int row, int nVal);
 
 	protected void verifyPreAggMapSubOfRowV2(double[] preAV, int row) {
-		double v = leftM.getValue(row, data[1]);
-		double v2 = leftM.getValue(row, data[data.length - 1]) + leftM.getValue(row, data[data.length - 2]);
+		double v = leftM.get(row, data[1]);
+		double v2 = leftM.get(row, data[data.length - 1]) + leftM.get(row, data[data.length - 2]);
 		if(preAV[1] != v)
 			fail("\naggregate to wrong index");
 		if(!Precision.equals(preAV[0], s[row] - v - v2, eps))
@@ -335,7 +335,7 @@ public abstract class OffsetTestPreAggregate {
 
 	protected void compareMultiRowAgg(double[] agg, int rl, int ru) {
 		for(int r = rl, of = 0; r < ru; r++, of++) {
-			double v = leftM.getValue(r, data[1]);
+			double v = leftM.get(r, data[1]);
 
 			if(agg[of * 2 + 1] != v)
 				fail("\naggregate to wrong index");
@@ -404,8 +404,8 @@ public abstract class OffsetTestPreAggregate {
 
 	protected void compareMultiRowAggBeforeLast(double[] agg, int rl, int ru) {
 		for(int r = rl, of = 0; r < ru; r++, of++) {
-			double v = leftM.getValue(r, data[1]);
-			double v2 = leftM.getValue(r, data[data.length - 1]);
+			double v = leftM.get(r, data[1]);
+			double v2 = leftM.get(r, data[data.length - 1]);
 			if(agg[of * 2 + 1] != v)
 				fail("\naggregate to wrong index");
 			if(!Precision.equals(agg[of * 2], s[r] - v - v2, eps))
diff --git a/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTest.java b/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTest.java
index ef5376dba9..b4054169af 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTest.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTest.java
@@ -51,9 +51,9 @@ public class ReadersTest {
 
 		MatrixBlock mb = new MatrixBlock(3, 2, false);
 		mb.allocateDenseBlock();
-		mb.setValue(0, 0, 4);
-		mb.setValue(1, 0, 3);
-		mb.setValue(2, 1, 5);
+		mb.set(0, 0, 4);
+		mb.set(1, 0, 3);
+		mb.set(2, 1, 5);
 
 		ReaderColumnSelection r = ReaderColumnSelection.createReader(mb, ColIndexFactory.create(2), false);
 		DblArray d = null;
diff --git a/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTestCompareReaders.java b/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTestCompareReaders.java
index d6bde4a0f9..1a0036558e 100644
--- a/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTestCompareReaders.java
+++ b/src/test/java/org/apache/sysds/test/component/compress/readers/ReadersTestCompareReaders.java
@@ -84,14 +84,14 @@ public class ReadersTestCompareReaders {
 		// only one row is set
 		mb = new MatrixBlock(100, 10, false);
 		for(int i = 0; i < 10; i++)
-			mb.quickSetValue(3, i, 231);
+			mb.set(3, i, 231);
 		if(!mb.isInSparseFormat())
 			tests.add(new Object[] {mb});
 
 		// only one col is set
 		mb = new MatrixBlock(100, 10, false);
 		for(int i = 0; i < 100; i++)
-			mb.quickSetValue(i, 4, 231);
+			mb.set(i, 4, 231);
 		if(!mb.isInSparseFormat())
 			tests.add(new Object[] {mb});
 
diff --git a/src/test/java/org/apache/sysds/test/component/frame/FrameAppendTest_Old.java b/src/test/java/org/apache/sysds/test/component/frame/FrameAppendTest_Old.java
index 9d0339d2b3..763c751aa6 100644
--- a/src/test/java/org/apache/sysds/test/component/frame/FrameAppendTest_Old.java
+++ b/src/test/java/org/apache/sysds/test/component/frame/FrameAppendTest_Old.java
@@ -115,7 +115,7 @@ public class FrameAppendTest_Old extends AutomatedTestBase {
 			for(int i = 0; i < rows; i++)
 				for(int j = 0; j < lschema.length; j++) {
 					double tmp = UtilFunctions.objectToDouble(lschema[j], frame3.get(i, j));
-					double tmpm = Double.isNaN(mbC.quickGetValue(i, j)) ? 0.0 : mbC.quickGetValue(i, j);
+					double tmpm = Double.isNaN(mbC.get(i, j)) ? 0.0 : mbC.get(i, j);
 					tmp = (Double.isNaN(tmp) ? 0.0 : tmp);
 
 					if(tmp != tmpm)
diff --git a/src/test/java/org/apache/sysds/test/component/frame/FrameFromMatrixBlockTest.java b/src/test/java/org/apache/sysds/test/component/frame/FrameFromMatrixBlockTest.java
index bc0e242f9d..2ee80a9896 100644
--- a/src/test/java/org/apache/sysds/test/component/frame/FrameFromMatrixBlockTest.java
+++ b/src/test/java/org/apache/sysds/test/component/frame/FrameFromMatrixBlockTest.java
@@ -200,7 +200,7 @@ public class FrameFromMatrixBlockTest {
 
 		for(int i = 0; i < nRow; i++)
 			for(int j = 0; j < nCol; j++)
-				assertEquals(mb.getValue(i, j), fb.getDouble(i, j), 0.0000001);
+				assertEquals(mb.get(i, j), fb.getDouble(i, j), 0.0000001);
 
 	}
 
@@ -211,7 +211,7 @@ public class FrameFromMatrixBlockTest {
 
 		for(int i = 0; i < nRow; i++)
 			for(int j = 0; j < nCol; j++)
-				assertEquals(i + " " + j, mb.getValue(i, j), fb.getDouble(i, j), 0.0000001);
+				assertEquals(i + " " + j, mb.get(i, j), fb.getDouble(i, j), 0.0000001);
 
 	}
 
diff --git a/src/test/java/org/apache/sysds/test/component/frame/FrameIndexingTest.java b/src/test/java/org/apache/sysds/test/component/frame/FrameIndexingTest.java
index a2bd67c803..4d8e586a4b 100644
--- a/src/test/java/org/apache/sysds/test/component/frame/FrameIndexingTest.java
+++ b/src/test/java/org/apache/sysds/test/component/frame/FrameIndexingTest.java
@@ -132,7 +132,7 @@ public class FrameIndexingTest extends AutomatedTestBase
 				mbC = mbA.leftIndexingOperations(mbB, rl, ru, cl, cu, new MatrixBlock(), UpdateType.COPY);
 				
 				//frame indexing
-				frame3 = frame1.leftIndexingOperations(frame2, rl, ru, cl, cu, new FrameBlock());				
+				frame3 = frame1.leftIndexingOperations(frame2, rl, ru, cl, cu, new FrameBlock());
 			}
 			
 			//check basic meta data
@@ -145,8 +145,8 @@ public class FrameIndexingTest extends AutomatedTestBase
 				for( int i=0; i<ru-rl+1; i++ ) {
 					for( int j=0; j<lschema.length; j++ )	{
 						double tmp = UtilFunctions.objectToDouble(lschema[j], frame3.get(i, j));
-						if( tmp != mbC.quickGetValue(i, j) )
-							Assert.fail("Wrong get value for cell ("+i+","+j+"): "+tmp+", expected: "+mbC.quickGetValue(i, j));
+						if( tmp != mbC.get(i, j) )
+							Assert.fail("Wrong get value for cell ("+i+","+j+"): "+tmp+", expected: "+mbC.get(i, j));
 					}		
 				}
 			}
diff --git a/src/test/java/org/apache/sysds/test/component/frame/FrameRemoveEmpty.java b/src/test/java/org/apache/sysds/test/component/frame/FrameRemoveEmpty.java
index 8c7e717b39..37d85e9cf1 100644
--- a/src/test/java/org/apache/sysds/test/component/frame/FrameRemoveEmpty.java
+++ b/src/test/java/org/apache/sysds/test/component/frame/FrameRemoveEmpty.java
@@ -203,7 +203,7 @@ public class FrameRemoveEmpty {
 	public void removeEmptyRowsSelect() {
 		FrameBlock in = getTestCase2();
 		MatrixBlock select = new MatrixBlock(10, 1, false);
-		select.setValue(3, 0, 1);
+		select.set(3, 0, 1);
 		FrameBlock out = in.removeEmptyOperations(true, true, select);
 		assertEquals(2, out.getNumColumns());
 		assertEquals(1, out.getNumRows());
@@ -214,8 +214,8 @@ public class FrameRemoveEmpty {
 	public void removeEmptyRowsSelect_2() {
 		FrameBlock in = getTestCase2();
 		MatrixBlock select = new MatrixBlock(10, 1, false);
-		select.setValue(3, 0, 1);
-		select.setValue(4, 0, 1);
+		select.set(3, 0, 1);
+		select.set(4, 0, 1);
 		FrameBlock out = in.removeEmptyOperations(true, true, select);
 		assertEquals(2, out.getNumColumns());
 		assertEquals(2, out.getNumRows());
@@ -303,7 +303,7 @@ public class FrameRemoveEmpty {
 		FrameBlock in = getTestCase2();
 		in.setColumnName(1, "HelloThere");
 		MatrixBlock select = new MatrixBlock(10, 1, 1.0);
-		select.setValue(0, 0, 0);
+		select.set(0, 0, 0);
 		FrameBlock out = in.removeEmptyOperations(true, true, select);
 		assertEquals(2, out.getNumColumns());
 		assertEquals(9, out.getNumRows());
diff --git a/src/test/java/org/apache/sysds/test/component/frame/transform/TransformCompressedTestSingleColBinSpecific.java b/src/test/java/org/apache/sysds/test/component/frame/transform/TransformCompressedTestSingleColBinSpecific.java
index fb622a216e..b895ea0cdc 100644
--- a/src/test/java/org/apache/sysds/test/component/frame/transform/TransformCompressedTestSingleColBinSpecific.java
+++ b/src/test/java/org/apache/sysds/test/component/frame/transform/TransformCompressedTestSingleColBinSpecific.java
@@ -155,7 +155,7 @@ public class TransformCompressedTestSingleColBinSpecific {
 				// Assert that each bucket has the same number of elements
 				MatrixBlock colSum = outNormal.colSum();
 				for(int i = 0; i < colSum.getNumColumns(); i++)
-					assertEquals(colSum.quickGetValue(0, 0), colSum.quickGetValue(0, i), 0.001);
+					assertEquals(colSum.get(0, 0), colSum.get(0, i), 0.001);
 			}
 		}
 
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/CountDistinctTest.java b/src/test/java/org/apache/sysds/test/component/matrix/CountDistinctTest.java
index 3d5ef5f4cd..860be41c7e 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/CountDistinctTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/CountDistinctTest.java
@@ -148,7 +148,7 @@ public class CountDistinctTest {
 				});
 			}
 			else {
-				int out = (int) LibMatrixCountDistinct.estimateDistinctValues(in, op).getValue(0, 0);
+				int out = (int) LibMatrixCountDistinct.estimateDistinctValues(in, op).get(0, 0);
 				int count = out;
 				boolean success = Math.abs(nrUnique - count) <= nrUnique * epsilon;
 				StringBuilder sb = new StringBuilder();
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/DenseAndSparseTest.java b/src/test/java/org/apache/sysds/test/component/matrix/DenseAndSparseTest.java
index 17b24ea2c1..4c4d76a3ce 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/DenseAndSparseTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/DenseAndSparseTest.java
@@ -205,7 +205,7 @@ public class DenseAndSparseTest {
 		assertEquals(a.getNonZeros(), b.getNonZeros());
 		for(int i = 0; i < n; i++) {
 			for(int j = 0; j < m; j++) {
-				assertEquals(a.quickGetValue(i, j), b.quickGetValue(i, j), 0.000000);
+				assertEquals(a.get(i, j), b.get(i, j), 0.000000);
 			}
 		}
 	}
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/EqualsTest.java b/src/test/java/org/apache/sysds/test/component/matrix/EqualsTest.java
index f64035997d..929cf3a745 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/EqualsTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/EqualsTest.java
@@ -114,12 +114,12 @@ public class EqualsTest {
 		MatrixBlock m1 = new MatrixBlock(10, 10, 0.0);
 		MatrixBlock m2 = new MatrixBlock(10, 10, 0.0);
 
-		m1.setValue(1, 1, 3);
-		m1.setValue(1, 2, 3);
+		m1.set(1, 1, 3);
+		m1.set(1, 2, 3);
 
-		m2.setValue(1, 1, 3);
-		m2.setValue(1, 2, 3);
-		m2.setValue(1, 3, 3);
+		m2.set(1, 1, 3);
+		m2.set(1, 2, 3);
+		m2.set(1, 3, 3);
 
 		assertFalse(m1.equals(m2));
 		assertFalse(m2.equals(m1));
@@ -131,14 +131,14 @@ public class EqualsTest {
 		MatrixBlock m1 = new MatrixBlock(10, 10, 0.0);
 		MatrixBlock m2 = new MatrixBlock(10, 10, 0.0);
 
-		m1.setValue(1, 1, 3);
-		m1.setValue(1, 2, 3);
+		m1.set(1, 1, 3);
+		m1.set(1, 2, 3);
 
 		m1.setNonZeros(-1);
 
-		m2.setValue(1, 1, 3);
-		m2.setValue(1, 2, 3);
-		m2.setValue(1, 3, 3);
+		m2.set(1, 1, 3);
+		m2.set(1, 2, 3);
+		m2.set(1, 3, 3);
 
 		assertFalse(m1.equals(m2));
 		assertFalse(m2.equals(m1));
@@ -150,12 +150,12 @@ public class EqualsTest {
 		MatrixBlock m1 = new MatrixBlock(10, 10, 0.0);
 		MatrixBlock m2 = new MatrixBlock(10, 10, 0.0);
 
-		m1.setValue(1, 1, 3);
-		m1.setValue(1, 2, 3);
+		m1.set(1, 1, 3);
+		m1.set(1, 2, 3);
 
-		m2.setValue(1, 1, 3);
-		m2.setValue(1, 2, 3);
-		m2.setValue(1, 3, 3);
+		m2.set(1, 1, 3);
+		m2.set(1, 2, 3);
+		m2.set(1, 3, 3);
 
 		m2.setNonZeros(-1);
 
@@ -169,14 +169,14 @@ public class EqualsTest {
 		MatrixBlock m1 = new MatrixBlock(10, 10, 0.0);
 		MatrixBlock m2 = new MatrixBlock(10, 10, 0.0);
 
-		m1.setValue(1, 1, 3);
-		m1.setValue(1, 2, 3);
+		m1.set(1, 1, 3);
+		m1.set(1, 2, 3);
 
 		m1.setNonZeros(-1);
 
-		m2.setValue(1, 1, 3);
-		m2.setValue(1, 2, 3);
-		m2.setValue(1, 3, 3);
+		m2.set(1, 1, 3);
+		m2.set(1, 2, 3);
+		m2.set(1, 3, 3);
 
 		m2.setNonZeros(-1);
 
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/ProdTest.java b/src/test/java/org/apache/sysds/test/component/matrix/ProdTest.java
index b3e2a05756..e16effb212 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/ProdTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/ProdTest.java
@@ -35,7 +35,7 @@ public class ProdTest {
 		m.allocateSparseRowsBlock();
 
 		for(int i = 0; i < 10; i++)
-			m.setValue(0, i, 3);
+			m.set(0, i, 3);
 
 		mDense = new MatrixBlock(10, 10, false);
 		mDense.copy(m);
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/TSMMTest.java b/src/test/java/org/apache/sysds/test/component/matrix/TSMMTest.java
index 9e464077d0..573d3e50b7 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/TSMMTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/TSMMTest.java
@@ -65,21 +65,21 @@ public class TSMMTest {
 		MatrixBlock mb1 = new MatrixBlock(100, 100, true); // dense cols sparse block
 		for(int j : new int[] {1, 4, 44, 87})
 			for(int i = 0; i < 100; i++)
-				mb1.quickSetValue(i, j, 100);
+				mb1.set(i, j, 100);
 		for(int t = 0; t < threads.length; t++)
 			tests.add(new Object[] {mb1, threads[t]});
 
 		MatrixBlock mb2 = new MatrixBlock(100, 100, true); // sparse but specific
 		for(int j : new int[] {44, 87})
 			for(int i : new int[] {56, 92})
-				mb2.quickSetValue(i, j, 100);
+				mb2.set(i, j, 100);
 		for(int t = 0; t < threads.length; t++)
 			tests.add(new Object[] {mb2, threads[t]});
 
 		MatrixBlock mb3 = new MatrixBlock(100, 100, true); // dense rows sparse block
 		for(int j : new int[] {1, 4, 44, 87})
 			for(int i = 0; i < 100; i++)
-				mb3.quickSetValue(j, i, 100);
+				mb3.set(j, i, 100);
 		for(int t = 0; t < threads.length; t++)
 			tests.add(new Object[] {mb3, threads[t]});
 		return tests;
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/TransposeInplaceTest.java b/src/test/java/org/apache/sysds/test/component/matrix/TransposeInplaceTest.java
index 7cb57024b1..7b23bdadb9 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/TransposeInplaceTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/TransposeInplaceTest.java
@@ -71,7 +71,7 @@ public class TransposeInplaceTest {
 			// very small test only verifying one cell...
 			for(int i = 0; i < rep; i++) {
 				LibMatrixReorg.reorgInPlace(in, opP);
-				Assert.assertEquals(org[1][0], in.quickGetValue(i % 2, 1 - i % 2), 0.00001);
+				Assert.assertEquals(org[1][0], in.get(i % 2, 1 - i % 2), 0.00001);
 			}
 		}
 		catch(Exception e) {
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/TransposeTwiceTest.java b/src/test/java/org/apache/sysds/test/component/matrix/TransposeTwiceTest.java
index 6bae3f83ff..c8fcb7abb1 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/TransposeTwiceTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/TransposeTwiceTest.java
@@ -122,7 +122,7 @@ public class TransposeTwiceTest {
 		int nCol = in.getNumColumns();
 		for(int i = 0; i < nRow; i++) {
 			for(int j = 0; j < nCol; j++) {
-				assertEquals(in.quickGetValue(i, j), inT.quickGetValue(j, i), 0.0);
+				assertEquals(in.get(i, j), inT.get(j, i), 0.0);
 			}
 		}
 	}
diff --git a/src/test/java/org/apache/sysds/test/component/matrix/UnaryOpTest.java b/src/test/java/org/apache/sysds/test/component/matrix/UnaryOpTest.java
index b9c4284ca6..e305266b3f 100644
--- a/src/test/java/org/apache/sysds/test/component/matrix/UnaryOpTest.java
+++ b/src/test/java/org/apache/sysds/test/component/matrix/UnaryOpTest.java
@@ -35,18 +35,18 @@ public class UnaryOpTest {
 	static final UnaryOperator op = new UnaryOperator(Builtin.getBuiltinFnObject(BuiltinCode.ROUND));
 	
 	static {
-		m.setValue(3, 3, 4.2);
+		m.set(3, 3, 4.2);
 	}
 
 	@Test
 	public void testBasic() {
-		assertTrue(m.getValue(3, 3) == 4.2);
+		assertTrue(m.get(3, 3) == 4.2);
 	}
 
 	@Test
 	public void testDirectUnaryOp() {
 		MatrixBlock mr = m.unaryOperations(op, null);
-		assertTrue(mr.getValue(3, 3) == 4);
+		assertTrue(mr.get(3, 3) == 4);
 	}
 
 	@Test
@@ -55,7 +55,7 @@ public class UnaryOpTest {
 		sb.copy(m);
 		sb.setSparseBlock(new SparseBlockCSR(sb.getSparseBlock()));
 		MatrixBlock mr = sb.unaryOperations(op, null);
-		assertTrue(mr.getValue(3, 3) == 4);
+		assertTrue(mr.get(3, 3) == 4);
 	}
 
 	@Test
@@ -63,6 +63,6 @@ public class UnaryOpTest {
 		MatrixBlock sb = new MatrixBlock(1, 1, false);
 		sb.copy(m);
 		MatrixBlock mr = sb.unaryOperations(op, null);
-		assertTrue(mr.getValue(3, 3) == 4);
+		assertTrue(mr.get(3, 3) == 4);
 	}
 }
diff --git a/src/test/java/org/apache/sysds/test/functions/aggregate/AggregateNaNTest.java b/src/test/java/org/apache/sysds/test/functions/aggregate/AggregateNaNTest.java
index 216c7becec..8624ea33be 100644
--- a/src/test/java/org/apache/sysds/test/functions/aggregate/AggregateNaNTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/aggregate/AggregateNaNTest.java
@@ -134,7 +134,7 @@ public class AggregateNaNTest extends AutomatedTestBase
 		
 		double ret = mb.aggregateUnaryOperations(
 			InstructionUtils.parseBasicAggregateUnaryOperator(type),
-			new MatrixBlock(), -1, new MatrixIndexes(1, 1), true).getValue(7, 0);
+			new MatrixBlock(), -1, new MatrixIndexes(1, 1), true).get(7, 0);
 
 		Assert.assertTrue(ret == 1);
 	}
diff --git a/src/test/java/org/apache/sysds/test/functions/data/misc/MatrixMarketFormatTest.java b/src/test/java/org/apache/sysds/test/functions/data/misc/MatrixMarketFormatTest.java
index 9cac2ef513..e1d14208c6 100644
--- a/src/test/java/org/apache/sysds/test/functions/data/misc/MatrixMarketFormatTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/data/misc/MatrixMarketFormatTest.java
@@ -269,7 +269,7 @@ public class MatrixMarketFormatTest extends AutomatedTestBase
 					int bi = (symmetry == MMSymmetry.GENERAL) ? 0 :
 						(symmetry == MMSymmetry.SYMMETRIC) ? j : j+1;
 					for(int i=bi; i<tmp.getNumRows(); i++) {
-						double val = tmp.quickGetValue(i, j);
+						double val = tmp.get(i, j);
 						br.write(String.valueOf((field == MMField.INTEGER) ?
 							(int) val : val) + "\n" );
 					}
diff --git a/src/test/java/org/apache/sysds/test/functions/io/binary/BlocksizeTest.java b/src/test/java/org/apache/sysds/test/functions/io/binary/BlocksizeTest.java
index 225df911ec..ea47dddb4c 100644
--- a/src/test/java/org/apache/sysds/test/functions/io/binary/BlocksizeTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/io/binary/BlocksizeTest.java
@@ -156,8 +156,8 @@ public class BlocksizeTest extends AutomatedTestBase
 				output("X"), FileFormat.BINARY, rows, cols, outBlksize, -1);
 			for( int i=0; i<mb.getNumRows(); i++ )
 				for( int j=0; j<mb.getNumColumns(); j++ ) {
-					double val1 = mb.quickGetValue(i, j) * 7;
-					double val2 = mb2.quickGetValue(i, j);
+					double val1 = mb.get(i, j) * 7;
+					double val2 = mb2.get(i, j);
 					Assert.assertEquals(val1, val2, eps);
 				}
 		}
diff --git a/src/test/java/org/apache/sysds/test/functions/io/binary/SerializeTest.java b/src/test/java/org/apache/sysds/test/functions/io/binary/SerializeTest.java
index a54703f41f..afe15adf65 100644
--- a/src/test/java/org/apache/sysds/test/functions/io/binary/SerializeTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/io/binary/SerializeTest.java
@@ -139,8 +139,8 @@ public class SerializeTest extends AutomatedTestBase
 			for( int i=0; i<mb.getNumRows(); i++ )
 				for( int j=0; j<mb.getNumColumns(); j++ )
 				{
-					double val1 = mb.quickGetValue(i, j) * 7;
-					double val2 = mb2.quickGetValue(i, j);
+					double val1 = mb.get(i, j) * 7;
+					double val2 = mb2.get(i, j);
 					Assert.assertEquals(val1, val2, eps);
 				}
 		}
@@ -177,7 +177,7 @@ public class SerializeTest extends AutomatedTestBase
 			MatrixBlock mout = encoder_ser.apply(data);
 			for (int i = 0; i < mout.getNumRows(); i++) {
 				for (int j = 0; j < mout.getNumColumns(); j++) {
-					assert mout.quickGetValue(i, j) == X[i][j];
+					assert mout.get(i, j) == X[i][j];
 				}
 			}
 		} catch (IOException e) {
@@ -219,8 +219,8 @@ public class SerializeTest extends AutomatedTestBase
 			for( int i=0; i<mb.getNumRows(); i++ )
 				for( int j=0; j<mb.getNumColumns(); j++ )
 				{
-					double val1 = mb.quickGetValue(i, j);
-					double val2 = mb2.quickGetValue(i, j);
+					double val1 = mb.get(i, j);
+					double val2 = mb2.get(i, j);
 					Assert.assertEquals(val1, val2, eps);
 				}
 
diff --git a/src/test/java/org/apache/sysds/test/functions/jmlc/NamespaceFunctionTest.java b/src/test/java/org/apache/sysds/test/functions/jmlc/NamespaceFunctionTest.java
index 8ac083d27e..25f59a6fcf 100644
--- a/src/test/java/org/apache/sysds/test/functions/jmlc/NamespaceFunctionTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/jmlc/NamespaceFunctionTest.java
@@ -114,7 +114,7 @@ public class NamespaceFunctionTest extends AutomatedTestBase
 		//compare results
 		for(int i=0; i<rows; i++)
 			for(int j=0; j<cols; j++)
-				Assert.assertEquals(X.quickGetValue(i, j)+10,
-					Z.quickGetValue(i, j), 1e-10);
+				Assert.assertEquals(X.get(i, j)+10,
+					Z.get(i, j), 1e-10);
 	}
 }
diff --git a/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorFrameConversionTest.java b/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorFrameConversionTest.java
index 93afdf7c0c..d526feba56 100644
--- a/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorFrameConversionTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorFrameConversionTest.java
@@ -302,7 +302,7 @@ public class DataFrameVectorFrameConversionTest extends AutomatedTestBase
 			for( int j=0, j2=0; j<mb.getNumColumns(); j++, j2++ ) {
 				if( schema[j2] != ValueType.UNKNOWN ) {
 					row[j2+off] = UtilFunctions
-						.doubleToObject(schema[j2], mb.quickGetValue(i, j));
+						.doubleToObject(schema[j2], mb.get(i, j));
 				}
 				else {
 					double[] tmp = DataConverter.convertToDoubleVector(
diff --git a/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorScriptTest.java b/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorScriptTest.java
index 4a072e71b5..8f1c085bda 100644
--- a/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorScriptTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/mlcontext/DataFrameVectorScriptTest.java
@@ -290,7 +290,7 @@ public class DataFrameVectorScriptTest extends MLContextTestBase
 			for( int j=0, j2=0; j<mb.getNumColumns(); j++, j2++ ) {
 				if( schema[j2] != ValueType.UNKNOWN ) {
 					row[j2+off] = UtilFunctions
-						.doubleToObject(schema[j2], mb.quickGetValue(i, j));
+						.doubleToObject(schema[j2], mb.get(i, j));
 				}
 				else {
 					double[] tmp = DataConverter.convertToDoubleVector(
diff --git a/src/test/java/org/apache/sysds/test/functions/recompile/CSVReadUnknownSizeTest.java b/src/test/java/org/apache/sysds/test/functions/recompile/CSVReadUnknownSizeTest.java
index 9fbd61c836..144ea39aa7 100644
--- a/src/test/java/org/apache/sysds/test/functions/recompile/CSVReadUnknownSizeTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/recompile/CSVReadUnknownSizeTest.java
@@ -125,7 +125,7 @@ public class CSVReadUnknownSizeTest extends AutomatedTestBase {
 				{
 					Double tmp = dmlfile.get(new CellIndex(i+1,j+1));
 					
-					double expectedValue = mb.quickGetValue(i, j);
+					double expectedValue = mb.get(i, j);
 					double actualValue =  (tmp==null)?0.0:tmp;
 					
 					if (expectedValue != actualValue) {
diff --git a/src/test/java/org/apache/sysds/test/functions/recompile/ReblockRecompileTest.java b/src/test/java/org/apache/sysds/test/functions/recompile/ReblockRecompileTest.java
index 16a04d7f19..f63a27f36e 100644
--- a/src/test/java/org/apache/sysds/test/functions/recompile/ReblockRecompileTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/recompile/ReblockRecompileTest.java
@@ -119,7 +119,7 @@ public class ReblockRecompileTest extends AutomatedTestBase
 			HashMap<CellIndex, Double> dmlfile = new HashMap<>();
 			for( int i=0; i<mo.getNumRows(); i++ )
 				for( int j=0; j<mo.getNumColumns(); j++ )
-					dmlfile.put(new CellIndex(i+1,j+1), mo.getValue(i, j));
+					dmlfile.put(new CellIndex(i+1,j+1), mo.get(i, j));
 				
 			HashMap<CellIndex, Double> rfile  = readRMatrixFromExpectedDir("Rout");
 			boolean flag = TestUtils.compareMatrices(dmlfile, rfile, eps, "DML", "R");
diff --git a/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyEmptyRecodeMapTest.java b/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyEmptyRecodeMapTest.java
index 31a20c748f..fbb720d032 100644
--- a/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyEmptyRecodeMapTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyEmptyRecodeMapTest.java
@@ -59,7 +59,7 @@ public class TransformApplyEmptyRecodeMapTest extends AutomatedTestBase
 			Assert.assertEquals(cols, out.getNumColumns());
 			for(int i=0; i<rows; i++)
 				for(int j=0; j<cols; j++)
-					Assert.assertTrue(Double.isNaN(out.quickGetValue(i, j)));
+					Assert.assertTrue(Double.isNaN(out.get(i, j)));
 		} 
 		catch (DMLRuntimeException e) {
 			throw new RuntimeException(e);
diff --git a/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyUnknownsTest.java b/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyUnknownsTest.java
index 9e50de6818..e4178fe1d0 100644
--- a/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyUnknownsTest.java
+++ b/src/test/java/org/apache/sysds/test/functions/transform/TransformApplyUnknownsTest.java
@@ -63,9 +63,9 @@ public class TransformApplyUnknownsTest extends AutomatedTestBase {
 			Assert.assertEquals(out.getNumRows(), data2.getNumRows());
 			Assert.assertEquals(out.getNumColumns(), data2.getNumColumns());
 			for(int i=1; i<=rows; i++)
-				Assert.assertEquals(i, out.quickGetValue(i-1, 0), 1e-8);
+				Assert.assertEquals(i, out.get(i-1, 0), 1e-8);
 			for(int i=rows+1; i<=rows+10; i++)
-				Assert.assertTrue(Double.isNaN(out.quickGetValue(i-1, 0)));
+				Assert.assertTrue(Double.isNaN(out.get(i-1, 0)));
 		} 
 		catch (DMLRuntimeException e) {
 			throw new RuntimeException(e);
@@ -94,11 +94,11 @@ public class TransformApplyUnknownsTest extends AutomatedTestBase {
 			Assert.assertEquals(out.getNumColumns(), data2.getNumColumns());
 			for(int i=-5; i<=rows+5; i++) {
 				if( i < 1 )
-					Assert.assertEquals(1, out.quickGetValue(i+5, 0), 0.0);
+					Assert.assertEquals(1, out.get(i+5, 0), 0.0);
 				else if(i > rows)
-					Assert.assertEquals(out.quickGetValue(out.getNumRows()-1, 0), out.quickGetValue(i+5, 0), 0.0);
+					Assert.assertEquals(out.get(out.getNumRows()-1, 0), out.get(i+5, 0), 0.0);
 				else
-					Assert.assertEquals(((i-1)/10+1), out.quickGetValue(i+5, 0), 1e-8);
+					Assert.assertEquals(((i-1)/10+1), out.get(i+5, 0), 1e-8);
 			}
 		}
 		catch (Exception e) {