Enhance qr
function with mode
argument
#114
Merged
qr
function with mode
argument
#114