Added functionality to handle negative matrix dimensions.
Added output file.
Updated file handling drops.
Added most recent file.