Updated precision and added ploting