Fix for upper/lower bounds, now slice using loc
Fix for upper/lower bounds, now slice using loc

Karel-van-de-Plassche/QLKNN-develop,Karel-van-de-Plassche/QLKNN-develop,Karel-van-de-Plassche/QLKNN-develop