Edited docstrings for all functions. Updated readimage function to include ext keyword.