documented the map and filter functions better

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
added float support for range

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
better protection for nth function

Signed-off-by: Alexander Skjolden <alex@plastboks.net>