Fixed issue with function that applies periodic or reflecting boundary...
Fixed issue with function that applies periodic or reflecting boundary conditions to any sample far outside of the prior range. @moritz.huebner
Fixed issue with function that applies periodic or reflecting boundary conditions to any sample far outside of the prior range. @moritz.huebner