Version 0.4

Updated to version 0.4
- A few bug fixes.