Correction on angle calculation
changed simulated value to have more realistic behaviour
correct a buffer decoding to avoid app crash