minor edits
Added Python interface