Adding function to get last added pitch to crystal. Also fixing the function that converts coordinates to frequencies.