Finished np_format_as, extended documentation, changed nclasses => num_classes