added lacking header files
added
added method restoreEScaleModifiedValues
struct that encapsulates iM,iY and iFlatIndex
added support for FlatIndex_t
added a minor comment
updated preliminary macro