New methods to MAtrixes and refactoring

Added $lines and $columns properies and their equivalente get methods to
allowing see how many lines and columns a Matrix have.

Refactored lastLine/Column to use the properties instead of
recalculating everytime called;

firstColumn refactored to use the 0 index instead of 1 for the first
column.