firstLineOfDat: Filter matrix to keep only first of repeated lines
Description
This function aims to reduce the complexity of a matrix (or data.frame) in case column 'refCol' has multiple lines with same value.
In this case, it reduces the input-data to 1st line of redundant entries and returns a matrix (or data.frame) without lines identified as redundant entries for 'refCol').
in sum, this functions works lile useng unique on a given column, and propagates the same treatment to all other columns.