fixes Sonar issue about May expose internal representation by returning reference to mutable object in Sample.java
fixes Sonar issue about May expose internal representation by returning reference to mutable object in ParameterVector.java
fixes Sonar issue about May expose internal representation by returning reference to mutable object in ForcingChunks.java