Fix #1 : 3 data before effect

Waits to have 3 measures before triggering the plugin.

+ very small performance improvement with “var dataLength = localData.length;”.