fix makeBasicImageView w.r.t. strided arrays

makeBasicImageView() currently does not respect strides (took me some hours trying to find the error in my own code...); this PR fixes this and also adds a precondition to prevent further errors when trying to join strided dimensions.