Added/used Frame.h

Added Frame.h to the project as a wrapper for mat-> arrays.  Using for
resetTransparency.

Had to comment out min(a,b) function in Frame.h to not conflict with
std:min function used elsewhere.