updates to personal functions

more calculations, spacing corrections