Docs updated, added InputArray, fixes for makePtr,...