Modifications on NeoMatrix library to fit the recent Mbed system

Dependents:   4180_final_project_github