Fixing an inputless init bug and using standard Python inheritance for rand operations