Improved ledmatrix code.

Added support for max dots with N_DOTS_ON_MAX.
Added LEDMATRIX_FRAME_SET for variable setting.
Changed interface to hide rows and colums.
Example calculates frame rate.