added main and defined M_PI

Dependencies:   BNOWrapper

Revision:
10:14374b492f1d
Parent:
0:0f12b8c4d5f1