Fixed errors in sample interleave. Also smarter prefetching.