small changes and a simple fix for #3
improvents in new features #3
added documentation, small changes and adding default decimals