Updated source code; minor changes.