A Statistical analysis on the system performance of a bluetooth low energy indoor positioning system in a 3D environment