Fixed coordinates issue on the waspmote and added code here to accept such valuesw