Resolving some errors when calculating margin...
Merge pull request #12 from isholgueras/master

Resolving some errors calculating margin, changed the margin to pixeles