Added pub sub and additional module example
Added speed test and nan check