updated documentation to clarify passing external images; fixed some line wraps in code; reran test cases