// Replicate Matlab's normpdf for lists - returns the pdf of the normal distribution with mean mu and standard deviation sigma, evaluated at the values in x.
2
// We need to make a function to replicate matlab's normpdf
3
functionnormpdf(x,mu,sigma){
4
varoutput=[]
5
//loop through values due to no pointwise operations in JS