minor updates to depth.js
fixed output decimal places