added pmVector to vectorize the functionality provided by
pm()
added mapqkAllVector to accept ndarray of inputs and choose on the fly
whether to call mapqk or mapqkz