Upadted the aDn command so that it returns correct number of measuremetns. see issue number 5 for a complete description.