Implemented fInv in custom scale example

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
Changed ticks generation in custom scale example

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>