A general threshold can now be expressed using a float number.
Bug Fixed last commit.
Style changes to the boolean indexing
Adjusted power law behavior, as suggested by Francisco